Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.50ms] Passed 4 tests
Server-side resources used by Listo
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 43.14 ▼4.26 |
Dashboard /wp-admin | 3.31 ▲0.00 | 53.35 ▼0.41 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 52.35 ▼0.91 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 94.15 ▼16.43 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 39.01 ▲2.13 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 32 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Listo: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.28 ▼0.30 | 1.76 ▼0.34 | 45.10 ▲3.52 |
Dashboard /wp-admin | 2,198 ▲17 | 5.62 ▼0.09 | 82.57 ▼24.42 | 39.08 ▼6.23 |
Posts /wp-admin/edit.php | 2,100 ▲3 | 1.98 ▲0.03 | 40.26 ▲0.09 | 36.13 ▼1.62 |
Add New Post /wp-admin/post-new.php | 1,528 ▲2 | 22.99 ▲1.42 | 682.91 ▼26.39 | 65.33 ▲2.72 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.18 ▼0.07 | 101.32 ▼12.56 | 45.82 ▼5.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
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 take a closer look at the following
- 29× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Listo' not found in wp-content/plugins/listo/modules/cr-subdivisions.php:8
- > PHP Fatal error
Uncaught Error: Interface 'Listo' not found in wp-content/plugins/listo/modules/ch-subdivisions.php:8
- > PHP Fatal error
Uncaught Error: Interface 'Listo' not found in wp-content/plugins/listo/modules/ve-subdivisions.php:8
- > PHP Fatal error
Uncaught Error: Interface 'Listo' not found in wp-content/plugins/listo/modules/pl-subdivisions.php:8
- > PHP Fatal error
Uncaught Error: Interface 'Listo' not found in wp-content/plugins/listo/modules/sv-subdivisions.php:8
- > PHP Fatal error
Uncaught Error: Interface 'Listo' not found in wp-content/plugins/listo/modules/in-subdivisions.php:8
- > PHP Fatal error
Uncaught Error: Interface 'Listo' not found in wp-content/plugins/listo/modules/ht-subdivisions.php:8
- > PHP Fatal error
Uncaught Error: Interface 'Listo' not found in wp-content/plugins/listo/modules/do-subdivisions.php:8
- > PHP Fatal error
Uncaught Error: Interface 'Listo' not found in wp-content/plugins/listo/modules/ni-subdivisions.php:8
- > PHP Fatal error
Uncaught Error: Interface 'Listo' not found in wp-content/plugins/listo/modules/time-zones.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: currencies, subdivisions, list, states, countries
listo/listo.php Passed 13 tests
"Listo" version 1.7's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
87 characters long description:
Listo is a simple plugin that supplies commonly used lists to other plugins and themes.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin1,545 lines of code in 29 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 29 | 112 | 150 | 1,545 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.10 |
Average class complexity | 1.28 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 1.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 28 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 28 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 85 | |
▷ Static methods | 58 | 68.24% |
▷ Public methods | 57 | 67.06% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 28 | 32.94% |
Functions | 3 | |
▷ Named functions | 3 | 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
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin