Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.29MB] [CPU: ▼3.18ms] Passed 4 tests
A check of server-side resources used by CentEDI Catalog Extension
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.75 ▲0.29 | 41.13 ▼0.23 |
Dashboard /wp-admin | 3.59 ▲0.29 | 45.77 ▼2.93 |
Posts /wp-admin/edit.php | 3.71 ▲0.35 | 47.48 ▼3.35 |
Add New Post /wp-admin/post-new.php | 6.17 ▲0.29 | 92.10 ▼5.82 |
Media Library /wp-admin/upload.php | 3.52 ▲0.29 | 36.27 ▼0.60 |
Server storage [IO: ▲0.50MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for CentEDI Catalog Extension
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.17 ▼1.21 | 1.67 ▼0.16 | 40.45 ▲1.09 |
Dashboard /wp-admin | 2,203 ▲18 | 5.99 ▲0.09 | 96.47 ▼2.17 | 38.43 ▼9.11 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.01 ▼0.03 | 39.95 ▲3.61 | 37.82 ▼1.93 |
Add New Post /wp-admin/post-new.php | 1,547 ▲13 | 23.10 ▼0.09 | 619.93 ▼51.83 | 51.78 ▼5.79 |
Media Library /wp-admin/upload.php | 1,382 ▼6 | 4.17 ▲0.06 | 96.66 ▼9.70 | 40.22 ▼6.83 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 9× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/centedi-catalog-addon/centedi-cataddon-config.php on line 13
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/centedi-catalog-addon/centedi-cataddon-config.php on line 14
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/centedi-catalog-addon/centedi-cataddon-config.php on line 7
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/centedi-catalog-addon/centedi-cataddon-config.php on line 9
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/centedi-catalog-addon/centedi-cataddon-config.php on line 12
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/centedi-catalog-addon/centedi-cataddon-config.php on line 8
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/centedi-catalog-addon/centedi-cataddon-config.php on line 11
- > PHP Fatal error
Uncaught Error: Class 'CentediUtils' not found in wp-content/plugins/centedi-catalog-addon/centedi-cataddon-register.php:5
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/centedi-catalog-addon/centedi-cataddon-config.php on line 10
- > PHP Notice
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 90% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
8 plugin tags: filters, import, woocommerce, brands, centedi...
centedi-catalog-addon/centedi-cataddon-main.php 77% from 13 tests
"CentEDI Catalog Extension" version 0.0.9's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 225 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("centedi-catalog-addon.php" instead of "centedi-cataddon-main.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin4,612 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 269 | 335 | 4,082 |
PO File | 2 | 162 | 190 | 385 |
XSLT | 1 | 8 | 0 | 132 |
SVG | 1 | 0 | 0 | 11 |
CSS | 1 | 0 | 0 | 1 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for 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.37 |
Average class complexity | 65.89 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 246.00 |
Average method complexity | 4.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 61.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 192 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 169 | 88.02% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 23 | 11.98% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 17 | |
▷ Global constants | 17 | 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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/controls.png | 2.74KB | 1.42KB | ▼ 48.29% |