Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼8.54ms] Passed 4 tests
Analyzing server-side resources used by Maui Marketing Scripts, Tags & CSS Manager
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.40 ▼0.06 | 28.56 ▼13.42 |
Dashboard /wp-admin | 3.33 ▲0.02 | 44.49 ▼2.96 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 47.47 ▼2.01 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 81.47 ▼15.76 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.87 ▲1.76 |
Server storage [IO: ▲0.34MB] [DB: ▲0.00MB] 67% from 3 tests
How much does this plugin use your filesystem and database?
Please try to fix the following items
- You have illegally modified 2 files (3.13KB) outside of "wp-content/plugins/maui-marketing-script-manager/" and "wp-content/uploads/"
- (modified) wp-content/themes/twentytwentyone/header.php
- (modified) wp-content/themes/twentytwentyone/footer.php
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Maui Marketing Scripts, Tags & CSS Manager: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,851 ▲116 | 13.95 ▼0.25 | 1.98 ▲0.08 | 44.35 ▼4.01 |
Dashboard /wp-admin | 2,220 ▲32 | 4.85 ▼0.03 | 106.04 ▼10.89 | 84.34 ▲42.69 |
Posts /wp-admin/edit.php | 2,115 ▲26 | 2.05 ▲0.03 | 38.89 ▲1.51 | 34.70 ▲1.60 |
Add New Post /wp-admin/post-new.php | 1,551 ▲32 | 18.38 ▼5.05 | 579.74 ▼121.08 | 37.75 ▼14.99 |
Media Library /wp-admin/upload.php | 1,419 ▲31 | 4.38 ▲0.13 | 88.28 ▼17.78 | 79.04 ▲35.12 |
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
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/maui-marketing-script-manager/mm-script-manager-admin.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/maui-marketing-script-manager/mm-script-manager-admin.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Donate link: Invalid url: ""
maui-marketing-script-manager/mm-script-manager.php 77% from 13 tests
The main file in "Maui Marketing Scripts, Tags & CSS Manager" v. 2.3.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 450 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("maui-marketing-script-manager.php" instead of "mm-script-manager.php")
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin2,665 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 51 | 50 | 1,388 |
PHP | 2 | 49 | 12 | 1,248 |
JavaScript | 2 | 1 | 0 | 29 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.58 |
Average class complexity | 139.50 |
▷ Minimum class complexity | 64.00 |
▷ Maximum class complexity | 215.00 |
Average method complexity | 18.31 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 47.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 16 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 16 | 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 | 2 | |
▷ Global constants | 2 | 100.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
6 PNG files occupy 0.20MB with 0.11MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/h_t_icon.png | 1.17KB | 1.18KB | 0.00% |
assets/screenshot-1.png | 59.32KB | 20.27KB | ▼ 65.83% |
assets/screenshot-2.png | 80.46KB | 29.80KB | ▼ 62.96% |
assets/screenshot-3.png | 23.33KB | 7.57KB | ▼ 67.57% |
assets/screenshot-4.png | 35.81KB | 11.92KB | ▼ 66.71% |