Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▼0.69MB] [CPU: ▼23.10ms] Passed 4 tests
Server-side resources used by mm Content Manage
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 37.63 ▼4.64 |
Dashboard /wp-admin | 3.33 ▼0.02 | 45.96 ▼14.52 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 48.25 ▼3.23 |
Add New Post /wp-admin/post-new.php | 3.12 ▼2.77 | 36.60 ▼70.02 |
Media Library /wp-admin/upload.php | 3.26 ▲0.02 | 34.44 ▼0.48 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for mm Content Manage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.20 ▼1.19 | 1.62 ▼0.14 | 38.37 ▼1.46 |
Dashboard /wp-admin | 2,209 ▲21 | 5.87 ▲0.96 | 97.77 ▼10.44 | 46.14 ▲4.40 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 1.97 ▼0.08 | 33.87 ▼2.91 | 29.75 ▼2.07 |
Add New Post /wp-admin/post-new.php | 6,506 ▲4,992 | 21.88 ▲4.46 | 893.74 ▲244.59 | 75.24 ▲20.14 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.22 ▲0.00 | 97.86 ▼8.99 | 42.37 ▼2.72 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% 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
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/mm-content-manage/MM_content_manage.php:49
- > 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 errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
4 plugin tags: private, content, excerpt, posts
mm-content-manage/MM_content_manage.php 85% from 13 tests
The entry point to "mm Content Manage" version 1.1 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Description: Please don't use more than 140 characters for the plugin description (currently 155 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("mm-content-manage.php" instead of "MM_content_manage.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin131 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 25 | 28 | 96 |
PO File | 1 | 8 | 14 | 35 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin