Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.62MB] [CPU: ▲2.85ms] Passed 4 tests
This is a short check of server-side resources used by Awesome Service Box
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.85 ▲0.39 | 40.96 ▼0.21 |
Dashboard /wp-admin | 4.01 ▲0.71 | 51.98 ▲3.73 |
Posts /wp-admin/edit.php | 4.03 ▲0.67 | 47.61 ▲3.20 |
Add New Post /wp-admin/post-new.php | 6.60 ▲0.72 | 94.32 ▲4.69 |
Media Library /wp-admin/upload.php | 3.93 ▲0.70 | 40.75 ▲6.93 |
Add Service /wp-admin/post-new.php?post_type=awesome_service_ | 4.34 | 53.53 |
Awesome Service Option /wp-admin/edit.php?post_type=awesome_service_&page=service | 3.84 | 38.67 |
Awesome Service /wp-admin/edit.php?post_type=awesome_service_ | 3.98 | 36.41 |
Server storage [IO: ▲0.84MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 121 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Awesome Service Box
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,992 ▲246 | 14.09 ▼0.29 | 4.90 ▲2.91 | 37.97 ▼9.28 |
Dashboard /wp-admin | 2,267 ▲79 | 5.20 ▲0.26 | 115.02 ▲5.54 | 42.08 ▲1.33 |
Posts /wp-admin/edit.php | 2,152 ▲63 | 2.42 ▲0.40 | 38.05 ▲0.96 | 32.70 ▼3.27 |
Add New Post /wp-admin/post-new.php | 1,561 ▲33 | 23.21 ▲4.92 | 618.60 ▼33.94 | 35.18 ▼19.64 |
Media Library /wp-admin/upload.php | 1,446 ▲55 | 4.50 ▲0.31 | 95.04 ▼3.77 | 42.26 ▲1.07 |
Add Service /wp-admin/post-new.php?post_type=awesome_service_ | 2,451 | 8.32 | 195.42 | 66.39 |
Awesome Service Option /wp-admin/edit.php?post_type=awesome_service_&page=service | 1,407 | 2.79 | 51.86 | 34.07 |
Awesome Service /wp-admin/edit.php?post_type=awesome_service_ | 1,116 | 2.34 | 36.04 | 27.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=awesome_service_&page=service
- > Notice in wp-content/plugins/awesome-service/admin/awesome-option.php+54
Undefined variable: awesome_service_options
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
The following issues need your attention
- 40× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Radio' not found in wp-content/plugins/awesome-service/admin/cmb2/includes/types/CMB2_Type_Taxonomy_Radio_Hierarchical.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Hookup_Base' not found in wp-content/plugins/awesome-service/admin/cmb2/includes/rest-api/CMB2_REST.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/awesome-service/admin/awesome-option.php:10
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Multi_Base' not found in wp-content/plugins/awesome-service/admin/cmb2/includes/types/CMB2_Type_Radio.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_hookup' not found in wp-content/plugins/awesome-service/admin/cmb2/includes/CMB2_Options_Hookup.php:14
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_File_Base' not found in wp-content/plugins/awesome-service/admin/cmb2/includes/types/CMB2_Type_File.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_File_Base' not found in wp-content/plugins/awesome-service/admin/cmb2/includes/types/CMB2_Type_File_List.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Base' not found in wp-content/plugins/awesome-service/admin/cmb2/includes/types/CMB2_Type_Text_Datetime_Timestamp_Timezone.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Base' not found in wp-content/plugins/awesome-service/admin/cmb2/includes/types/CMB2_Type_Taxonomy_Radio.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Multi_Base' not found in wp-content/plugins/awesome-service/admin/cmb2/includes/types/CMB2_Type_Select.php:13
- > 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 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Contributors: Plugin contributors field is missing
awesome-service/awesome-service.php 85% from 13 tests
The main PHP script in "Awesome Service Box" version 1.0 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
- Description: Keep the plugin description shorter than 140 characters (currently 143 characters long)
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 plugin9,012 lines of code in 91 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 57 | 2,081 | 5,955 | 6,771 |
Sass | 17 | 305 | 25 | 1,439 |
JavaScript | 5 | 60 | 170 | 303 |
CSS | 11 | 42 | 29 | 286 |
SVG | 1 | 0 | 3 | 213 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 18.56 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 183.00 |
Average method complexity | 3.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 66 | |
▷ Abstract classes | 8 | 12.12% |
▷ Concrete classes | 58 | 87.88% |
▷ Final classes | 0 | 0.00% |
Methods | 519 | |
▷ Static methods | 86 | 16.57% |
▷ Public methods | 428 | 82.47% |
▷ Protected methods | 88 | 16.96% |
▷ Private methods | 3 | 0.58% |
Functions | 32 | |
▷ Named functions | 32 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 4 | 40.00% |
▷ Class constants | 6 | 60.00% |
▷ Public constants | 6 | 100.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
17 PNG files occupy 0.11MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/cmb2/images/ui-bg_glass_55_fbf9ee_1x400.png | 0.12KB | 0.14KB | 0.00% |
admin/cmb2/images/ui-icons_454545_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
admin/cmb2/images/ui-bg_flat_75_ffffff_40x100.png | 0.17KB | 0.08KB | ▼ 51.12% |
img/banner-772x250.png | 11.77KB | 4.76KB | ▼ 59.58% |
admin/cmb2/images/ico-delete.png | 0.70KB | 0.72KB | 0.00% |