Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.88MB] [CPU: ▲0.40ms] Passed 4 tests
Server-side resources used by My Content Management
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.34 ▲0.88 | 46.82 ▲4.46 |
Dashboard /wp-admin | 4.22 ▲0.92 | 61.89 ▲5.90 |
Posts /wp-admin/edit.php | 4.27 ▲0.92 | 55.36 ▼4.55 |
Add New Post /wp-admin/post-new.php | 6.76 ▲0.88 | 98.35 ▼4.21 |
Media Library /wp-admin/upload.php | 4.08 ▲0.85 | 43.72 ▲6.72 |
Custom Fields /wp-admin/edit.php?post_type=attachment&page=attachment_fields | 4.07 | 38.50 |
Custom Fields /wp-admin/edit.php?post_type=wp_navigation&page=wp_navigation_fields | 4.07 | 38.82 |
Custom Fields /wp-admin/edit.php?page=post_fields | 4.07 | 39.25 |
Custom Fields /wp-admin/edit.php?post_type=post&page=post_fields | 4.07 | 39.79 |
My Custom Fields /wp-admin/options-general.php?page=mcm_custom_fields | 4.07 | 40.07 |
Custom Fields /wp-admin/edit.php?post_type=wp_block&page=wp_block_fields | 4.07 | 41.64 |
My Content Management /wp-admin/options-general.php?page=mcm_settings | 4.07 | 33.92 |
Custom Fields /wp-admin/edit.php?post_type=page&page=page_fields | 4.07 | 38.01 |
Server storage [IO: ▲0.37MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 35 new files
Database: no new tables, 11 new options
New WordPress options |
---|
mcm_version |
can_compress_scripts |
theysaidso_admin_options |
mcm_options |
widget_recent-posts |
widget_mcm_meta_widget |
widget_mcm_posts_widget |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
... |
Browser metrics Passed 4 tests
A check of browser resources used by My Content Management
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲19 | 14.22 ▼0.12 | 1.98 ▼0.11 | 43.75 ▲0.38 |
Dashboard /wp-admin | 2,211 ▲31 | 5.64 ▲0.02 | 96.72 ▲4.30 | 42.57 ▲2.96 |
Posts /wp-admin/edit.php | 2,113 ▲10 | 2.02 ▲0.08 | 34.80 ▼5.63 | 34.96 ▲1.44 |
Add New Post /wp-admin/post-new.php | 1,554 ▲28 | 23.17 ▲0.00 | 658.73 ▼5.34 | 35.41 ▼29.29 |
Media Library /wp-admin/upload.php | 1,419 ▲16 | 4.21 ▼0.02 | 98.24 ▼7.23 | 44.09 ▼1.73 |
Custom Fields /wp-admin/edit.php?post_type=attachment&page=attachment_fields | 1,169 | 3.38 | 74.73 | 38.20 |
Custom Fields /wp-admin/edit.php?post_type=wp_navigation&page=wp_navigation_fields | 1,169 | 3.35 | 71.99 | 33.58 |
Custom Fields /wp-admin/edit.php?page=post_fields | 1,173 | 3.30 | 65.64 | 33.10 |
Custom Fields /wp-admin/edit.php?post_type=post&page=post_fields | 1,170 | 3.28 | 68.61 | 31.61 |
My Custom Fields /wp-admin/options-general.php?page=mcm_custom_fields | 1,308 | 3.29 | 73.30 | 32.14 |
Custom Fields /wp-admin/edit.php?post_type=wp_block&page=wp_block_fields | 1,166 | 3.29 | 66.89 | 32.04 |
My Content Management /wp-admin/options-general.php?page=mcm_settings | 1,340 | 3.28 | 68.79 | 39.04 |
Custom Fields /wp-admin/edit.php?post_type=page&page=page_fields | 1,173 | 3.28 | 67.58 | 30.92 |
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
These items require your attention
- This plugin did not uninstall successfully, leaving 9 options in the database
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- widget_mcm_posts_widget
- widget_mcm_meta_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_mcm_search_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
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 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
8 plugin tags: faq, glossary, staff, testimonials, sidebars...
my-content-management/my-content-management.php 85% from 13 tests
Analyzing the main PHP file in "My Content Management" version 1.7.7
The following require your attention:
- Domain Path: The domain path must begin with a forward slash character ("/lang")
- Domain Path: Note that the domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("lang")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin4,297 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 262 | 922 | 4,077 |
JavaScript | 4 | 4 | 14 | 147 |
CSS | 2 | 10 | 0 | 73 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 19.33 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 31.00 |
Average method complexity | 5.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 100 | |
▷ Named functions | 100 | 100.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
10 compressed PNG files occupy 0.01MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/mcm_resources.png | 0.68KB | 0.83KB | 0.00% |
images/up.png | 0.34KB | 0.38KB | 0.00% |
images/mcm_locations.png | 0.80KB | 1.06KB | 0.00% |
images/mcm_faq.png | 0.75KB | 0.67KB | ▼ 9.93% |
images/mcm_testimonials.png | 0.65KB | 0.61KB | ▼ 5.73% |