Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.39MB] [CPU: ▼4.69ms] Passed 4 tests
Server-side resources used by Mcc Automated
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.83 ▲0.37 | 37.10 ▼5.85 |
Dashboard /wp-admin | 3.70 ▲0.40 | 47.70 ▼1.95 |
Posts /wp-admin/edit.php | 3.81 ▲0.46 | 46.94 ▲3.33 |
Add New Post /wp-admin/post-new.php | 6.28 ▲0.39 | 79.28 ▼14.28 |
Media Library /wp-admin/upload.php | 3.62 ▲0.39 | 37.92 ▲4.09 |
Email Notification /wp-admin/admin.php?page=mcc_automated_notification | 3.60 | 33.49 |
Labels /wp-admin/admin.php?page=mcc_automated_menu | 3.60 | 32.98 |
Offer Configuration /wp-admin/admin.php?page=mcc_automated_configuration | 3.59 | 30.15 |
Server storage [IO: ▲0.37MB] [DB: ▲0.06MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 30 new files
Database: 6 new tables, 20 new options
New tables |
---|
wp_device_report |
wp_verizon_rdd |
wp_mcc_automated |
wp_plan_categories |
wp_att_rdd |
wp_uit_vzw |
New WordPress options |
---|
mcc_automated_savings_formula_percent |
mcc_automated_form_instructions |
mcc_automated_customer_name |
mcc_automated_giga_usage_label |
widget_recent-comments |
mcc_automated_second_heading |
widget_theysaidso_widget |
mcc_automated_form_notif_template |
mcc_automated_greeting |
mcc_automated_total_phone_count_label |
... |
Browser metrics Passed 4 tests
Mcc Automated: 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,830 ▲84 | 13.59 ▼0.80 | 1.87 ▼0.07 | 37.53 ▼6.26 |
Dashboard /wp-admin | 2,239 ▲48 | 5.80 ▲0.92 | 110.63 ▲4.65 | 68.85 ▲26.68 |
Posts /wp-admin/edit.php | 2,122 ▲33 | 2.00 ▲0.01 | 38.01 ▼0.61 | 34.46 ▼0.56 |
Add New Post /wp-admin/post-new.php | 1,548 ▲29 | 18.11 ▼5.10 | 744.75 ▲82.52 | 62.70 ▲10.81 |
Media Library /wp-admin/upload.php | 1,415 ▲24 | 4.23 ▲0.02 | 98.57 ▼0.18 | 74.65 ▲27.86 |
Email Notification /wp-admin/admin.php?page=mcc_automated_notification | 891 | 2.07 | 26.78 | 29.58 |
Labels /wp-admin/admin.php?page=mcc_automated_menu | 985 | 2.20 | 23.21 | 28.56 |
Offer Configuration /wp-admin/admin.php?page=mcc_automated_configuration | 858 | 2.02 | 23.73 | 25.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 4× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/mobile-cost-control-automated/admin/partials/mcc-automated-configurations.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/mobile-cost-control-automated/admin/partials/mcc-automated-form-1-option.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/mobile-cost-control-automated/public/partials/mcc-automated-form-1.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/mobile-cost-control-automated/admin/partials/mcc-automated-email-notification.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Screenshots: A description for screenshot #4 is missing in mobile-cost-control-automated/assets to your readme.txt
mobile-cost-control-automated/mcc-automated.php 77% from 13 tests
The primary PHP file in "Mcc Automated" version 1.2.8 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("mobile-cost-control-automated.php" instead of "mcc-automated.php")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Description: Please don't use more than 140 characters for the plugin description (currently 148 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin3,784 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 1,009 | 679 | 3,577 |
JavaScript | 3 | 25 | 27 | 107 |
CSS | 3 | 18 | 8 | 100 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.04 |
Average class complexity | 7.44 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 43.00 |
Average method complexity | 2.26 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.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 | 46 | |
▷ Static methods | 9 | 19.57% |
▷ Public methods | 41 | 89.13% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 10.87% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin