Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
It is recommended to fix the following installer errors
- Install procedure had errors
- > Deprecated in wp-content/plugins/list-plugins/core.class.php+1698
Methods with the same name as their class will not be constructors in a future version of PHP; coreSLframework has a deprecated constructor
Server metrics [RAM: ▼1.30MB] [CPU: ▼56.27ms] Passed 4 tests
Analyzing server-side resources used by List Plugins
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.68 ▼0.78 | 7.16 ▼40.66 |
Dashboard /wp-admin | 2.70 ▼0.60 | 9.82 ▼45.48 |
Posts /wp-admin/edit.php | 2.70 ▼0.65 | 7.14 ▼44.15 |
Add New Post /wp-admin/post-new.php | 2.70 ▼3.18 | 8.10 ▼94.80 |
Media Library /wp-admin/upload.php | 2.70 ▼0.53 | 10.71 ▼29.02 |
Server storage [IO: ▲1.61MB] [DB: ▲0.00MB] 67% from 3 tests
How much does this plugin use your filesystem and database?
It is recommended to fix the following issues
- You have illegally modified 3 files (0.74KB) outside of "wp-content/plugins/list-plugins/" and "wp-content/uploads/"
- (new file) wp-content/sedlex/inline_styles/0908d7edaef1ebdf72942395a73a6c079af8e39b.css
- (new file) wp-content/sedlex/inline_styles/9547635bd96ab4fb2dca58bfb2145e23ce0dd72b.css
- (new file) wp-content/sedlex/inline_scripts/.empty
Filesystem: 162 new files
Database: no new tables, 9 new options
New WordPress options |
---|
listplugins_options |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
plugin_error_on_activation |
coreSLframework_options |
theysaidso_admin_options |
Browser metrics Passed 4 tests
List Plugins: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲57 | 14.28 ▼0.01 | 1.72 ▼0.13 | 43.98 ▼1.61 |
Dashboard /wp-admin | 2,222 ▲45 | 5.54 ▼0.04 | 82.37 ▼7.51 | 42.71 ▲1.73 |
Posts /wp-admin/edit.php | 2,130 ▲27 | 1.98 ▼0.02 | 39.50 ▼0.45 | 36.69 ▼1.84 |
Add New Post /wp-admin/post-new.php | 1,548 ▲20 | 23.44 ▲0.19 | 682.84 ▲2.00 | 61.59 ▲3.26 |
Media Library /wp-admin/upload.php | 1,427 ▲27 | 4.24 ▲0.03 | 102.53 ▲7.26 | 44.81 ▼0.08 |
About... /wp-admin/sedlex.php | 26 | 0.42 | 0.07 | 14.22 |
List Plugins /wp-admin/sedlex.php?page=list-plugins/list-plugins.php | 26 | 0.42 | 0.16 | 7.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The plugin did not uninstall gracefully
- > Deprecated in wp-content/plugins/list-plugins/core.class.php+1698
Methods with the same name as their class will not be constructors in a future version of PHP; coreSLframework has a deprecated constructor
- Zombie WordPress options detected upon uninstall: 9 options
- widget_theysaidso_widget
- widget_recent-posts
- plugin_error_on_activation
- can_compress_scripts
- coreSLframework_options
- listplugins_options
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 3× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/list-plugins/core.php
- > /wp-content/plugins/list-plugins/core.class.php
- > /wp-content/plugins/list-plugins/list-plugins.php
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Warning
require_once(core.php): failed to open stream: No such file or directory in wp-content/plugins/list-plugins/core/templates/my-plugin.php on line 18
- > PHP Fatal error
require_once(): Failed opening required 'core.php' (include_path='.:/usr/share/php') in wp-content/plugins/list-plugins/core/templates/my-plugin.php on line 18
- > PHP Warning
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following browser errors
- > GET request to /wp-admin/sedlex.php
- > Network (severe)
wp-admin/sedlex.php - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/sedlex.php?page=list-plugins/list-plugins.php
- > Network (severe)
wp-admin/sedlex.php?page=list-plugins/list-plugins.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Screenshots: Add an image for screenshot #1 (The configuration page of the plugin)
list-plugins/list-plugins.php 92% from 13 tests
The primary PHP file in "List Plugins" version 1.4.4 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 486 characters long)
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin16,705 lines of code in 73 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 33 | 3,897 | 0 | 8,508 |
PHP | 19 | 904 | 1,666 | 6,780 |
JavaScript | 6 | 217 | 253 | 823 |
CSS | 11 | 91 | 13 | 479 |
Markdown | 1 | 20 | 0 | 84 |
JSON | 1 | 0 | 0 | 29 |
INI | 2 | 0 | 0 | 2 |
PHP code 50% from 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
The following items need your attention
- Please reduce cyclomatic complexity of methods to less than 100 (currently 119)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 50.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 211.00 |
Average method complexity | 7.42 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 119.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 19 | |
▷ Abstract classes | 1 | 5.26% |
▷ Concrete classes | 18 | 94.74% |
▷ Final classes | 0 | 0.00% |
Methods | 145 | |
▷ Static methods | 35 | 24.14% |
▷ Public methods | 142 | 97.93% |
▷ Protected methods | 3 | 2.07% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
34 PNG files occupy 0.42MB with 0.10MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
core/img/tab_trad.png | 0.90KB | 1.08KB | 0.00% |
core/img/tree_node_minus.png | 0.14KB | 0.12KB | ▼ 15.17% |
img/icon-256x256.png | 54.48KB | 23.38KB | ▼ 57.08% |
core/img/tree_vline.png | 0.12KB | 0.08KB | ▼ 32.52% |
core/img/tree_lastnode_minus.png | 0.14KB | 0.12KB | ▼ 13.89% |