Library Health Check
I wrote a script to assess the general "health" of the library. Here I calculate quality of a library as being the percentage of symbols with an error divided by number of symbols for each library. Of course, this data is only as good as the automated KLC checks we do. However, there tends to be a correlation between the number of KLC errors and the amount of TLC a library has recently received.
Presented in descending order of the quality metric.
Name num.sym tot.err tot.warn sym.err sym.warn qual% err/sym warn/sym
------------------------------------------------------------------------------------------------------------
Connector_Generic 274 0 1624 0 274 100.0% 0.0 5.9
CPU_NXP_68000 5 0 32 0 5 100.0% 0.0 6.4
Sensor_Gas 8 0 24 0 8 100.0% 0.0 3.0
RF_RFID 2 0 14 0 2 100.0% 0.0 7.0
Security 3 0 20 0 3 100.0% 0.0 6.7
Sensor_Voltage 1 0 7 0 1 100.0% 0.0 7.0
DSP_Freescale 1 0 10 0 1 100.0% 0.0 10.0
MCU_Parallax 3 0 21 0 3 100.0% 0.0 7.0
Interface_Telecom 3 0 20 0 3 100.0% 0.0 6.7
MCU_Texas_SimpleLink 1 0 6 0 1 100.0% 0.0 6.0
Driver_Haptic 2 0 11 0 2 100.0% 0.0 5.5
Fiber_Optic 2 0 16 0 2 100.0% 0.0 8.0
Simulation_SPICE 20 0 40 0 20 100.0% 0.0 2.0
MCU_ST_STM32G0 2 0 12 0 2 100.0% 0.0 6.0
MCU_AnalogDevices 1 0 8 0 1 100.0% 0.0 8.0
Transistor_IGBT 2 0 2 0 2 100.0% 0.0 1.0
MCU_Espressif 1 0 7 0 1 100.0% 0.0 7.0
power 95 6 107 1 94 98.9% 0.1 1.1
CPLD_Altera 26 1 129 1 26 96.2% 0.0 5.0
Transistor_Array 20 1 31 1 19 95.0% 0.1 1.6
74xx 235 97 1339 15 234 93.6% 0.4 5.7
Sensor_Magnetic 45 3 118 3 22 93.3% 0.1 2.6
Switch 58 5 146 4 58 93.1% 0.1 2.5
Graphic 29 2 23 2 19 93.1% 0.1 0.8
DSP_Microchip_DSPIC33 19 2 103 2 19 89.5% 0.1 5.4
Amplifier_Buffer 7 1 15 1 7 85.7% 0.1 2.1
Sensor 14 2 63 2 12 85.7% 0.1 4.5
Logic_LevelTranslator 34 5 195 5 34 85.3% 0.1 5.7
Memory_NVRAM 19 3 59 3 19 84.2% 0.2 3.1
4xxx 48 72 351 8 48 83.3% 1.5 7.3
Interface_Expansion 64 12 363 12 64 81.2% 0.2 5.7
Amplifier_Instrumentation 36 7 71 7 36 80.6% 0.2 2.0
MCU_ST_STM32F0 111 22 627 22 111 80.2% 0.2 5.6
MCU_ST_STM32H7 15 3 83 3 15 80.0% 0.2 5.5
Sensor_Pressure 15 3 69 3 15 80.0% 0.2 4.6
Analog 16 17 78 4 16 75.0% 1.1 4.9
MCU_ST_STM32L4+ 37 10 195 10 37 73.0% 0.3 5.3
FPGA_Microsemi 18 5 131 5 18 72.2% 0.3 7.3
LED 54 23 148 15 45 72.2% 0.4 2.7
Display_Character 128 36 447 36 128 71.9% 0.3 3.5
MCU_ST_STM32F7 113 33 587 33 113 70.8% 0.3 5.2
MCU_Microchip_PIC16 252 101 1269 75 252 70.2% 0.4 5.0
Regulator_SwitchedCapacitor 20 6 79 6 20 70.0% 0.3 4.0
RF_Bluetooth 13 4 89 4 13 69.2% 0.3 6.8
Memory_EPROM 13 4 66 4 13 69.2% 0.3 5.1
pspice 16 5 58 5 16 68.8% 0.3 3.6
Motor 22 7 34 7 22 68.2% 0.3 1.5
MCU_ST_STM32L1 130 42 655 42 130 67.7% 0.3 5.0
Amplifier_Difference 12 14 117 4 12 66.7% 1.2 9.8
Analog_DAC 126 44 574 43 126 65.9% 0.3 4.6
Audio 82 28 464 28 82 65.9% 0.3 5.7
Regulator_Controller 149 52 546 52 149 65.1% 0.3 3.7
Interface_CAN_LIN 85 30 423 30 85 64.7% 0.4 5.0
MCU_ST_STM32L4 130 48 621 48 130 63.1% 0.4 4.8
74xGxx 163 355 1494 61 163 62.6% 2.2 9.2
Sensor_Motion 26 11 141 10 24 61.5% 0.4 5.4
MCU_ST_STM32L0 150 58 691 58 150 61.3% 0.4 4.6
Amplifier_Operational 321 137 430 126 317 60.7% 0.4 1.3
Interface_USB 94 41 479 37 94 60.6% 0.4 5.1
Diode_Laser 5 2 8 2 5 60.0% 0.4 1.6
Amplifier_Current 74 30 197 30 74 59.5% 0.4 2.7
Driver_FET 194 87 689 79 194 59.3% 0.4 3.6
Comparator 54 30 140 22 54 59.3% 0.6 2.6
Device 564 751 2662 230 564 59.2% 1.3 4.7
Connector 350 185 1585 143 350 59.1% 0.5 4.5
Interface 100 44 508 43 100 57.0% 0.4 5.1
MCU_ST_STM32F3 93 40 405 40 93 57.0% 0.4 4.4
Interface_LineDriver 16 7 35 7 10 56.2% 0.4 2.2
Memory_Flash 36 104 218 16 36 55.6% 2.9 6.1
Driver_Motor 65 30 366 29 65 55.4% 0.5 5.6
Sensor_Optical 67 30 176 30 62 55.2% 0.4 2.6
MCU_ST_STM32F4 211 95 890 95 211 55.0% 0.5 4.2
Relay_SolidState 81 38 198 37 81 54.3% 0.5 2.4
Oscillator 95 45 446 44 95 53.7% 0.5 4.7
Power_Supervisor 77 88 251 36 77 53.2% 1.1 3.3
Timer_RTC 38 24 174 18 38 52.6% 0.6 4.6
Potentiometer_Digital 48 36 237 23 48 52.1% 0.8 4.9
Relay 171 101 665 83 171 51.5% 0.6 3.9
Analog_Switch 123 81 695 60 123 51.2% 0.7 5.7
Amplifier_Audio 94 59 382 46 94 51.1% 0.6 4.1
Interface_Ethernet 26 13 122 13 26 50.0% 0.5 4.7
MCU_Microchip_PIC10 24 12 92 12 24 50.0% 0.5 3.8
Interface_HDMI 2 1 10 1 2 50.0% 0.5 5.0
RF_WiFi 2 1 16 1 2 50.0% 0.5 8.0
Amplifier_Video 2 1 16 1 2 50.0% 0.5 8.0
Sensor_Audio 4 2 19 2 4 50.0% 0.5 4.8
Reference_Current 12 11 57 6 12 50.0% 0.9 4.8
Memory_UniqueID 2 1 8 1 2 50.0% 0.5 4.0
Timer 59 31 189 31 59 47.5% 0.5 3.2
CPLD_Xilinx 17 11 94 9 17 47.1% 0.6 5.5
MCU_ST_STM32F1 125 67 446 67 125 46.4% 0.5 3.6
RF_AM_FM 13 9 46 7 13 46.2% 0.7 3.5
Sensor_Proximity 29 16 76 16 29 44.8% 0.6 2.6
Jumper 9 14 26 5 9 44.4% 1.6 2.9
Sensor_Temperature 100 70 434 56 100 44.0% 0.7 4.3
Isolator 315 220 863 177 304 43.8% 0.7 2.7
Analog_ADC 158 96 587 89 156 43.7% 0.6 3.7
RF_ZigBee 7 4 39 4 7 42.9% 0.6 5.6
Isolator_Analog 7 4 11 4 5 42.9% 0.6 1.6
MCU_Module 48 30 214 28 46 41.7% 0.6 4.5
Driver_LED 78 50 407 46 78 41.0% 0.6 5.2
Interface_UART 133 85 490 79 133 40.6% 0.6 3.7
Driver_Relay 5 3 30 3 5 40.0% 0.6 6.0
MCU_Intel 26 18 116 16 26 38.5% 0.7 4.5
Sensor_Touch 24 15 104 15 22 37.5% 0.6 4.3
MCU_ST_STM8 23 15 71 15 23 34.8% 0.7 3.1
Power_Management 213 153 842 140 213 34.3% 0.7 4.0
MCU_ST_STM32F2 47 31 137 31 47 34.0% 0.7 2.9
Transformer 81 146 221 54 68 33.3% 1.8 2.7
CPU 6 182 34 4 6 33.3% 30.3 5.7
GPU 3 2 5 2 3 33.3% 0.7 1.7
MCU_Microchip_PIC24 3 2 19 2 3 33.3% 0.7 6.3
RF_Module 61 54 235 41 61 32.8% 0.9 3.9
Sensor_Humidity 13 9 44 9 13 30.8% 0.7 3.4
MCU_NXP_S08 189 131 380 131 189 30.7% 0.7 2.0
Driver_Display 10 10 57 7 10 30.0% 1.0 5.7
Power_Protection 80 91 238 57 72 28.8% 1.1 3.0
Interface_Optical 42 32 128 30 42 28.6% 0.8 3.0
Reference_Voltage 191 189 436 137 188 28.3% 1.0 2.3
Video 32 182 241 23 32 28.1% 5.7 7.5
Transistor_BJT 307 319 372 223 305 27.4% 1.0 1.2
MCU_Microchip_PIC12 114 84 293 84 114 26.3% 0.7 2.6
MCU_SiliconLabs 35 26 100 26 35 25.7% 0.7 2.9
Battery_Management 114 106 456 85 114 25.4% 0.9 4.0
CPU_NXP_6800 12 9 26 9 12 25.0% 0.8 2.2
Memory_RAM 45 89 224 35 45 22.2% 2.0 5.0
Timer_PLL 21 17 74 17 21 19.0% 0.8 3.5
Display_Graphic 38 31 163 31 38 18.4% 0.8 4.3
Regulator_Switching 941 1074 2486 771 941 18.1% 1.1 2.6
Regulator_Linear 978 1096 2532 807 978 17.5% 1.1 2.6
Transistor_FET 492 411 501 410 488 16.7% 0.8 1.0
MCU_NXP_ColdFire 6 86 43 5 6 16.7% 14.3 7.2
MCU_Microchip_8051 12 10 22 10 12 16.7% 0.8 1.8
MCU_STC 6 10 11 5 6 16.7% 1.7 1.8
Sensor_Current 253 211 486 211 253 16.6% 0.8 1.9
MCU_Microchip_ATtiny 199 167 521 167 199 16.1% 0.8 2.6
MCU_Microchip_PIC18 172 146 473 145 172 15.7% 0.8 2.8
Connector_Generic_Shielded 274 462 12628 231 274 15.7% 1.7 46.1
Connector_Generic_MountingPin 274 462 2446 231 274 15.7% 1.7 8.9
MCU_Cypress 36 31 79 31 36 13.9% 0.9 2.2
MCU_NXP_Kinetis 155 134 446 134 155 13.5% 0.9 2.9
Diode 533 512 456 463 454 13.1% 1.0 0.9
Filter 39 40 63 34 39 12.8% 1.0 1.6
RF_Mixer 8 7 36 7 8 12.5% 0.9 4.5
MCU_Microchip_PIC32 17 16 45 15 17 11.8% 0.9 2.6
Diode_Bridge 148 131 133 131 133 11.5% 0.9 0.9
Converter_ACDC 125 114 189 111 125 11.2% 0.9 1.5
RF_Switch 28 25 131 25 28 10.7% 0.9 4.7
MCU_Microchip_AVR 19 17 65 17 19 10.5% 0.9 3.4
MCU_NXP_HC11 10 9 52 9 10 10.0% 0.9 5.2
RF_Amplifier 75 72 111 69 70 8.0% 1.0 1.5
Converter_DCDC 524 503 703 489 524 6.7% 1.0 1.3
MCU_Microchip_SAMD 87 83 168 83 87 4.6% 1.0 1.9
FPGA_Lattice 24 31 102 23 24 4.2% 1.3 4.2
FPGA_Xilinx 34 3940 1612 33 34 2.9% 115.9 47.4
MCU_Microchip_ATmega 440 432 1042 432 440 1.8% 1.0 2.4
MCU_NXP_LPC 105 190 191 104 105 1.0% 1.8 1.8
MCU_Texas_MSP430 361 2638 1094 358 361 0.8% 7.3 3.0
74xx_IEEE 185 3015 1591 184 185 0.5% 16.3 8.6
FPGA_Xilinx_Virtex5 41 506 369 41 41 0.0% 12.3 9.0
FPGA_Xilinx_Kintex7 18 128 162 18 18 0.0% 7.1 9.0
MCU_Texas 21 63 87 21 21 0.0% 3.0 4.1
MCU_SiFive 3 3 20 3 3 0.0% 1.0 6.7
MCU_Nordic 7 14 45 7 7 0.0% 2.0 6.4
Triac_Thyristor 45 47 43 45 41 0.0% 1.0 1.0
DSP_Motorola 1 1 8 1 1 0.0% 1.0 8.0
MCU_Microchip_SAMV 3 4 8 3 3 0.0% 1.3 2.7
Interface_HID 5 5 30 5 5 0.0% 1.0 6.0
MCU_Dialog 2 2 11 2 2 0.0% 1.0 5.5
CPLD_Microchip 7 7 12 7 7 0.0% 1.0 1.7
RF_NFC 1 1 6 1 1 0.0% 1.0 6.0
Driver_TEC 2 2 7 2 2 0.0% 1.0 3.5
Interface_CurrentLoop 2 2 8 2 2 0.0% 1.0 4.0
FPGA_Xilinx_Virtex7 34 324 282 34 34 0.0% 9.5 8.3
CPU_NXP_IMX 18 20 39 18 18 0.0% 1.1 2.2
RF_GSM 12 21 52 12 12 0.0% 1.8 4.3
RF_GPS 20 20 89 20 20 0.0% 1.0 4.5
MCU_Microchip_SAML 20 20 50 20 20 0.0% 1.0 2.5
MCU_NXP_MAC7100 2 2 16 2 2 0.0% 1.0 8.0
MCU_NXP_HCS12 1 1 8 1 1 0.0% 1.0 8.0
MCU_NXP_MCore 1 1 9 1 1 0.0% 1.0 9.0
Memory_ROM 2 45 13 2 2 0.0% 22.5 6.5
Buffer 1 1 6 1 1 0.0% 1.0 6.0
Sensor_Distance 1 1 6 1 1 0.0% 1.0 6.0
FPGA_Xilinx_Virtex6 28 306 252 28 28 0.0% 10.9 9.0
FPGA_Xilinx_Spartan6 45 189 405 45 45 0.0% 4.2 9.0
FPGA_Xilinx_Artix7 27 157 243 27 27 0.0% 5.8 9.0
4xxx_IEEE 99 1415 1343 99 99 0.0% 14.3 13.6
RF_Filter 196 196 227 196 196 0.0% 1.0 1.2
CPU_PowerPC 1 233 8 1 1 0.0% 233.0 8.0
MCU_Microchip_SAME 16 17 45 16 16 0.0% 1.1 2.8
Valve 24 101 27 24 20 0.0% 4.2 1.1
MCU_Microchip_SAMA 1 6 21 1 1 0.0% 6.0 21.0
MCU_NXP_HC12 2 4 16 2 2 0.0% 2.0 8.0
Logic_Programmable 6 7 52 6 6 0.0% 1.2 8.7
DSP_AnalogDevices 5 5 15 5 5 0.0% 1.0 3.0
Mechanical 10 31 33 10 10 0.0% 3.1 3.3
DSP_Texas 1 1 11 1 1 0.0% 1.0 11.0
MCU_Renesas_Synergy_S1 1 1 6 1 1 0.0% 1.0 6.0
MCU_NXP_NTAG 1 1 6 1 1 0.0% 1.0 6.0