Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.19MB] [CPU: ▼3.53ms] Passed 4 tests
This is a short check of server-side resources used by Saitama Addon Pack
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.20 | 36.06 ▼4.25 |
Dashboard /wp-admin | 3.49 ▲0.18 | 45.74 ▼3.43 |
Posts /wp-admin/edit.php | 3.60 ▲0.24 | 48.71 ▼0.37 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.18 | 92.35 ▼6.07 |
Media Library /wp-admin/upload.php | 3.41 ▲0.18 | 32.60 ▲2.41 |
Server storage [IO: ▲0.25MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 16 new files
Database: no new tables, 12 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_cc_footernavi_widget |
widget_theysaidso_widget |
widget_cc_footercontact_widget |
widget_cc_topicarea_widget |
widget_cc_recent_widget |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Saitama Addon Pack
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲44 | 14.31 ▼0.02 | 1.59 ▼0.10 | 39.62 ▼4.35 |
Dashboard /wp-admin | 2,211 ▲34 | 5.61 ▲0.07 | 91.41 ▼10.09 | 43.27 ▼0.81 |
Posts /wp-admin/edit.php | 2,116 ▲13 | 2.03 ▲0.07 | 39.54 ▲0.32 | 37.07 ▼1.50 |
Add New Post /wp-admin/post-new.php | 1,539 ▲13 | 23.55 ▼0.07 | 633.19 ▲22.92 | 53.33 ▲4.49 |
Media Library /wp-admin/upload.php | 1,416 ▲13 | 4.19 ▼0.02 | 95.85 ▼4.18 | 40.63 ▼1.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 11 options in the database
- widget_cc_topicarea_widget
- widget_cc_sns_widget
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_cc_footercontact_widget
- widget_cc_footernavi_widget
- widget_cc_recent_widget
- ...
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
Even though no errors were found, 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
- 9× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/cc-addon-pack/includes/cc-contact-widget.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/cc-addon-pack/includes/cc-functions.php:19
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/cc-addon-pack/includes/cc-topicarea-widget.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/cc-addon-pack/admin/common.php:5
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/cc-addon-pack/includes/cc-footernavi-widget.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function ccAddonPack_get_option() in wp-content/plugins/cc-addon-pack/admin/admin.php:1
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/cc-addon-pack/includes/cc-sns-widget.php:2
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/cc-addon-pack/includes/cc-recent-widget.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_file_data() in wp-content/plugins/cc-addon-pack/ccAddonPack.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Screenshots: These screenshots do not have images: #1 (Feature can be stopped individually.), #2 (This is an example of SNS cooperation setting screen.)
- Donate link: Please fix this invalid URI: ""
- Plugin Name: Please specify the plugin name on the first line (
=== cc-addon-pack ===
)
cc-addon-pack/ccAddonPack.php 85% from 13 tests
The main PHP script in "Saitama Addon Pack" version 1.0.8 is automatically included on every request by WordPress
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 202 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("cc-addon-pack.php" instead of "ccAddonPack.php")
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,119 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 178 | 42 | 874 |
PO File | 1 | 64 | 81 | 165 |
CSS | 1 | 13 | 0 | 47 |
JavaScript | 1 | 2 | 3 | 33 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 6.40 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 2.35 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ 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 | 32 | |
▷ Named functions | 27 | 84.38% |
▷ Anonymous functions | 5 | 15.62% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.19MB with 0.14MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 196.34KB | 56.56KB | ▼ 71.19% |