Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.42MB] [CPU: ▼15.65ms] Passed 4 tests
A check of server-side resources used by Mission Control
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.23 | 42.36 ▼5.53 |
Dashboard /wp-admin | 3.56 ▲0.25 | 51.88 ▼1.73 |
Posts /wp-admin/edit.php | 3.67 ▲0.31 | 52.70 ▲1.05 |
Add New Post /wp-admin/post-new.php | 3.49 ▼2.40 | 45.23 ▼56.38 |
Media Library /wp-admin/upload.php | 3.48 ▲0.25 | 40.95 ▲1.64 |
Edit Site Level /wp-admin/options.php?page=missioncontrol_edit_site_level | 3.48 | 34.33 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 42 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
recovery_mode_email_last_sent |
Browser metrics Passed 4 tests
An overview of browser requirements for Mission Control
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲79 | 13.25 ▼1.13 | 4.46 ▲2.42 | 46.41 ▲0.18 |
Dashboard /wp-admin | 2,206 ▲15 | 5.85 ▲0.95 | 100.55 ▼10.54 | 40.75 ▲0.81 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.02 ▲0.01 | 37.96 ▲0.73 | 35.16 ▲1.66 |
Add New Post /wp-admin/post-new.php | 45 ▼1,366 | 0.44 ▼17.42 | 0.07 ▼630.41 | 10.33 ▼37.22 |
Media Library /wp-admin/upload.php | 1,382 ▼6 | 4.23 ▲0.01 | 109.41 ▼7.15 | 59.59 ▲8.08 |
Edit Site Level /wp-admin/options.php?page=missioncontrol_edit_site_level | 688 | 1.77 | 20.10 | 17.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 7 options in the database
- db_upgraded
- theysaidso_admin_options
- recovery_mode_email_last_sent
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% 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 everything seems fine, this is not 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 fix the following items
- 12× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'MissionControl\\API\\Object' not found in wp-content/plugins/mission-control/lib/api/class-levels.php:15
- > PHP Fatal error
Uncaught Error: Class 'MissionControl\\Base' not found in wp-content/plugins/mission-control/lib/class-plugin.php:15
- > PHP Fatal error
Uncaught Error: Class 'MissionControl\\Extension' not found in wp-content/plugins/mission-control/lib/extension/class-theme-control.php:20
- > PHP Fatal error
Uncaught Error: Class 'MissionControl\\Extension' not found in wp-content/plugins/mission-control/lib/extension/class-plugin-control.php:21
- > PHP Fatal error
Uncaught Error: Class 'MissionControl\\Base' not found in wp-content/plugins/mission-control/lib/module/class-levels.php:18
- > PHP Fatal error
Uncaught Error: Class 'MissionControl\\Extension' not found in wp-content/plugins/mission-control/lib/extension/class-level-message.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function get_file_data() in wp-content/plugins/mission-control/mission-control.php:211
- > PHP Fatal error
Cannot use 'Object' as class name as it is reserved in wp-content/plugins/mission-control/lib/api/class-object.php on line 13
- > PHP Fatal error
Uncaught Error: Class 'MissionControl\\Base' not found in wp-content/plugins/mission-control/lib/class-extension.php:15
- > PHP Fatal error
Uncaught Error: Class 'MissionControl\\Base' not found in wp-content/plugins/mission-control/lib/module/class-extensions.php:20
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following user-side errors
- > GET request to /wp-admin/options.php?page=missioncontrol_edit_site_level
- > Javascript (severe) in unknown
/wp-admin/options.php?page=missioncontrol_edit_site_level 1:5 Uncaught ReferenceError: jQuery is not defined
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
6 plugin tags: feature manager, multisite, plugin control, levels, network...
mission-control/mission-control.php 77% from 13 tests
This is the main PHP file of "Mission Control" version 0.1-alpha..., providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Domain Path: Use only dashes and lowercase characters for the domain path ("languages")
- Domain Path: The domain path must begin with a forward slash character ("/languages")
- Version: Use periods and digits only for your plugin's version number (ex. "1.0.3" instead of "0.1-alpha...")
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 plugin2,712 lines of code in 34 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 612 | 1,380 | 2,030 |
JavaScript | 7 | 181 | 123 | 492 |
CSS | 6 | 24 | 7 | 160 |
SVG | 5 | 0 | 1 | 30 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 20.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 65.00 |
Average method complexity | 3.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 16 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 16 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 145 | |
▷ Static methods | 22 | 15.17% |
▷ Public methods | 140 | 96.55% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 3.45% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin