Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▼0.87MB] [CPU: ▼30.94ms] Passed 4 tests
An overview of server-side resources used by CGD Arrange Terms
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▼0.61 | 16.58 ▼35.56 |
Dashboard /wp-admin | 3.27 ▼0.04 | 37.64 ▼13.41 |
Posts /wp-admin/edit.php | 3.21 ▼0.15 | 33.39 ▼13.94 |
Add New Post /wp-admin/post-new.php | 3.19 ▼2.70 | 34.03 ▼60.84 |
Media Library /wp-admin/upload.php | 3.29 ▲0.05 | 38.75 ▼0.13 |
Arrange Terms /wp-admin/admin.php?page=cgd-arrange | 3.26 | 34.42 |
Settings /wp-admin/admin.php?page=cgd-arrange-settings | 3.25 | 33.24 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 8 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_cgd_term_order |
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
cgd_arrange_terms_settings |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
CGD Arrange Terms: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲56 | 13.23 ▼1.52 | 1.67 ▼0.54 | 41.50 ▼8.73 |
Dashboard /wp-admin | 2,233 ▲54 | 4.91 ▼0.94 | 113.62 ▼13.18 | 42.11 ▼5.46 |
Posts /wp-admin/edit.php | 2,119 ▲33 | 2.03 ▼0.02 | 39.80 ▲1.16 | 34.86 ▲1.98 |
Add New Post /wp-admin/post-new.php | 1,560 ▲41 | 23.40 ▲0.06 | 604.50 ▼63.55 | 52.55 ▲1.68 |
Media Library /wp-admin/upload.php | 1,415 ▲27 | 4.19 ▼0.07 | 99.16 ▼2.45 | 42.57 ▼6.52 |
Arrange Terms /wp-admin/admin.php?page=cgd-arrange | 831 | 1.93 | 29.32 | 25.76 |
Settings /wp-admin/admin.php?page=cgd-arrange-settings | 848 | 2.19 | 28.19 | 34.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie tables were found after uninstall: 1 table
- wp_cgd_term_order
- Zombie WordPress options detected upon uninstall: 7 options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- cgd_arrange_terms_settings
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% 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 fix the following
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to a member function the_nonce() on null in wp-content/plugins/shopp-arrange/cgd-arrange-settings.php:8
- > PHP Fatal error
Uncaught Error: Class 'Walker_Category' not found in wp-content/plugins/shopp-arrange/inc/custom-walker.php:2
- > PHP Fatal error
Uncaught Error: Call to a member function get_setting() on null in wp-content/plugins/shopp-arrange/cgd-arrange-admin.php:31
- > PHP Fatal error
Uncaught Error: Class 'Walker_Category' not found in wp-content/plugins/shopp-arrange/inc/custom-walker.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== shopp-arrange ===
)
shopp-arrange/cgd-arrange.php 92% from 13 tests
The main PHP script in "CGD Arrange Terms" version 1.1.3 is automatically included on every request by WordPress
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("shopp-arrange.php" instead of "cgd-arrange.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin278 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 70 | 117 | 249 |
CSS | 1 | 4 | 0 | 26 |
JavaScript | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 11.33 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 2.55 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 1 | 33.33% |
▷ Concrete classes | 2 | 66.67% |
▷ Final classes | 0 | 0.00% |
Methods | 20 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 20 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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