Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▲0.66ms] Passed 4 tests
This is a short check of server-side resources used by CL WP Info
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 42.25 ▲1.47 |
Dashboard /wp-admin | 3.32 ▲0.02 | 51.07 ▲0.14 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 46.22 ▼0.93 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 98.00 ▲1.97 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.35 ▲3.19 |
CL WP Info /wp-admin/admin.php?page=cl-wp-info | 3.30 | 36.58 |
External Tools /wp-admin/admin.php?page=cl-wp-info-tools | 3.21 | 32.34 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for CL WP Info
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲66 | 13.24 ▼1.40 | 1.84 ▼0.29 | 42.64 ▼7.53 |
Dashboard /wp-admin | 2,232 ▲41 | 5.87 ▲0.90 | 100.36 ▼9.74 | 42.83 ▲1.07 |
Posts /wp-admin/edit.php | 2,112 ▲23 | 2.05 ▲0.06 | 34.31 ▼2.12 | 33.50 ▼0.52 |
Add New Post /wp-admin/post-new.php | 1,560 ▲26 | 23.42 ▲0.27 | 604.87 ▼64.18 | 68.20 ▲6.31 |
Media Library /wp-admin/upload.php | 1,414 ▲23 | 4.09 ▼0.06 | 97.44 ▼16.88 | 40.17 ▼10.72 |
CL WP Info /wp-admin/admin.php?page=cl-wp-info | 1,653 | 2.02 | 26.25 | 58.13 |
External Tools /wp-admin/admin.php?page=cl-wp-info-tools | 1,053 | 2.03 | 22.42 | 34.03 |
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
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/cl-wp-info/cl-wp-info.php
- > /wp-content/plugins/cl-wp-info/class-cl-wp-info.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Requires at least: Version format is invalid
- Screenshots: Screenshot #7 (External tools submenu) image not found
cl-wp-info/cl-wp-info.php Passed 13 tests
"CL WP Info" version 1.4.17's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
122 characters long description:
Server information, PHP and WordPress plugins and themes so that we can easily preview the website we are going to work on
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin2,376 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 2 | 379 | 453 | 1,159 |
PHP | 2 | 178 | 292 | 907 |
LESS | 1 | 55 | 7 | 260 |
JavaScript | 2 | 13 | 4 | 33 |
XML | 1 | 3 | 7 | 12 |
JSON | 1 | 0 | 0 | 4 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 87.00 |
▷ Minimum class complexity | 87.00 |
▷ Maximum class complexity | 87.00 |
Average method complexity | 6.06 |
▷ Minimum method complexity | 2.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 17 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 17 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected