Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼12.30ms] Passed 4 tests
This is a short check of server-side resources used by Module Control for Jetpack
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 37.62 ▼4.59 |
Dashboard /wp-admin | 3.42 ▲0.08 | 45.68 ▼15.38 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 47.96 ▼2.95 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.12 | 86.08 ▼26.28 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 37.06 ▲0.36 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Module Control for Jetpack
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲29 | 13.19 ▼1.10 | 1.57 ▼0.57 | 39.20 ▼5.14 |
Dashboard /wp-admin | 2,206 ▲18 | 4.85 ▼1.02 | 94.28 ▼5.63 | 37.22 ▼4.01 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.06 ▲0.04 | 34.59 ▼4.61 | 32.47 ▼3.90 |
Add New Post /wp-admin/post-new.php | 1,533 ▲19 | 23.22 ▲5.67 | 677.54 ▼2.86 | 57.67 ▲2.95 |
Media Library /wp-admin/upload.php | 1,388 ▲6 | 4.24 ▲0.04 | 98.93 ▲2.71 | 41.44 ▼0.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/jetpack-module-control/jetpack-module-control.php:866
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
7 plugin tags: jetpack, jet pack, manual control, slim jetpack, blacklist jetpack modules...
jetpack-module-control/jetpack-module-control.php 92% from 13 tests
"Module Control for Jetpack" version 1.6's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 183 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin485 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 98 | 309 | 472 |
Markdown | 1 | 12 | 0 | 13 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.59 |
Average class complexity | 82.00 |
▷ Minimum class complexity | 82.00 |
▷ Maximum class complexity | 82.00 |
Average method complexity | 4.52 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 23 | |
▷ Static methods | 1 | 4.35% |
▷ Public methods | 16 | 69.57% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 30.43% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
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
No PNG images were found in this plugin