Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.07MB] [CPU: ▼4.57ms] Passed 4 tests
This is a short check of server-side resources used by Popular Brand Icons - Simple Icons
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 35.18 ▲0.94 |
Dashboard /wp-admin | 3.38 ▲0.07 | 49.80 ▼0.53 |
Posts /wp-admin/edit.php | 3.50 ▲0.13 | 47.52 ▼3.67 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 84.30 ▼13.22 |
Media Library /wp-admin/upload.php | 3.31 ▲0.07 | 34.05 ▼0.87 |
Simple Icons /wp-admin/options-general.php?page=simpleicons | 3.27 | 34.08 |
Simple Icons /wp-admin/index.php?page=simpleicons-welcome | 3.27 | 30.36 |
Server storage [IO: ▲6.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Popular Brand Icons - Simple Icons
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲38 | 14.04 ▼0.68 | 1.58 ▼0.02 | 39.31 ▼0.04 |
Dashboard /wp-admin | 2,202 ▲25 | 5.49 ▼0.13 | 96.30 ▲5.25 | 41.47 ▼1.94 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.01 ▲0.05 | 36.54 ▼6.88 | 30.79 ▼4.10 |
Add New Post /wp-admin/post-new.php | 1,535 ▲7 | 23.35 ▲0.17 | 664.73 ▼27.74 | 55.38 ▼0.36 |
Media Library /wp-admin/upload.php | 1,410 ▲7 | 4.18 ▼0.04 | 96.27 ▼5.15 | 40.25 ▼3.83 |
Simple Icons /wp-admin/options-general.php?page=simpleicons | 2,383 | 1.98 | 41.23 | 39.75 |
Simple Icons /wp-admin/index.php?page=simpleicons-welcome | 1,376 | 9.01 | 293.25 | 100.99 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-icons/inc/welcome-screen.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/simple-icons/simple-icons.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-icons/inc/admin-page.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
5 plugin tags: menu icons, add social media icons to wordpress, icons shortcodes, social media icons, svg icons
simple-icons/simple-icons.php Passed 13 tests
The primary PHP file in "Popular Brand Icons - Simple Icons" version 2.8.4 is used by WordPress to initiate all plugin functionality
116 characters long description:
An easy to use SVG icons plugin with over 500+ brand icons. Use these icons in your menus, widgets, posts, or pages.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin16,734 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 1 | 0 | 0 | 16,126 |
PHP | 5 | 103 | 67 | 444 |
CSS | 1 | 6 | 3 | 162 |
JavaScript | 1 | 0 | 0 | 1 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 20.00 |
▷ Minimum class complexity | 17.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 4.17 |
▷ Minimum method complexity | 2.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 12 | |
▷ Static methods | 5 | 41.67% |
▷ Public methods | 3 | 25.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 9 | 75.00% |
Functions | 18 | |
▷ Named functions | 18 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin