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
Install script ran successfully
Server metrics [RAM: ▼0.16MB] [CPU: ▼11.57ms] Passed 4 tests
Analyzing server-side resources used by MMWW
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 42.02 ▲1.98 |
Dashboard /wp-admin | 3.34 ▲0.03 | 46.27 ▼7.33 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 49.04 ▼3.21 |
Add New Post /wp-admin/post-new.php | 5.17 ▼0.72 | 68.89 ▼31.44 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 35.65 ▼4.30 |
Media Metadata /wp-admin/options-general.php?page=mmww | 3.24 | 32.01 |
Server storage [IO: ▲0.61MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 144 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by MMWW
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲7 | 14.41 ▲0.21 | 1.89 ▼0.28 | 44.30 ▲0.14 |
Dashboard /wp-admin | 2,202 ▲22 | 5.62 ▼0.04 | 90.76 ▲2.48 | 41.05 ▼4.21 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 2.03 ▲0.02 | 39.00 ▼2.45 | 34.87 ▼0.86 |
Add New Post /wp-admin/post-new.php | 1,538 ▲12 | 18.22 ▼5.01 | 625.06 ▼28.06 | 71.90 ▲14.66 |
Media Library /wp-admin/upload.php | 1,412 ▲12 | 4.19 ▲0.03 | 102.92 ▲2.90 | 45.85 ▼2.22 |
Media Metadata /wp-admin/options-general.php?page=mmww | 947 | 2.02 | 25.91 | 33.89 |
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
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for 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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 238× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
require_once(): Failed opening required 'Zend/Media/Id3/Frame.php' (include_path='.:/usr/share/php') in wp-content/plugins/mmww/code/Zend/Media/Id3/Frame/Ufid.php on line 24
- > PHP Warning
require_once(Zend/Media/Id3/TextFrame.php): failed to open stream: No such file or directory in wp-content/plugins/mmww/code/Zend/Media/Id3/Frame/Tcon.php on line 24
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/mmww/mmww.php on line 25
- > PHP Fatal error
require_once(): Failed opening required 'Zend/Media/Id3/DateFrame.php' (include_path='.:/usr/share/php') in wp-content/plugins/mmww/code/Zend/Media/Id3/Frame/Tdrl.php on line 25
- > PHP Fatal error
require_once(): Failed opening required 'Zend/Media/Id3/LinkFrame.php' (include_path='.:/usr/share/php') in wp-content/plugins/mmww/code/Zend/Media/Id3/Frame/Wors.php on line 24
- > PHP Warning
require_once(Zend/Media/Id3/Frame.php): failed to open stream: No such file or directory in wp-content/plugins/mmww/code/Zend/Media/Id3/Frame/Grid.php on line 24
- > PHP Warning
require_once(Zend/Media/Id3/TextFrame.php): failed to open stream: No such file or directory in wp-content/plugins/mmww/code/Zend/Media/Id3/Frame/Tsoa.php on line 25
- > PHP Warning
require_once(Zend/Media/Id3/Frame.php): failed to open stream: No such file or directory in wp-content/plugins/mmww/code/Zend/Media/Id3/Frame/Mcdi.php on line 24
- > PHP Warning
require_once(Zend/Media/Id3/TextFrame.php): failed to open stream: No such file or directory in wp-content/plugins/mmww/code/Zend/Media/Id3/Frame/Tpe3.php on line 24
- > PHP Fatal error
require_once(): Failed opening required 'Zend/Media/Id3/Frame.php' (include_path='.:/usr/share/php') in wp-content/plugins/mmww/code/Zend/Media/Id3/Frame/Poss.php on line 24
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% 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: exif, metadata, id3, iptc, mp3...
mmww/mmww.php 92% from 13 tests
The main file in "MMWW" v. 1.0.9 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 393 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
There were no executable files found in this plugin7,676 lines of code in 139 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 137 | 1,474 | 9,252 | 6,963 |
PO File | 2 | 236 | 238 | 713 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 6.58 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 80.00 |
Average method complexity | 2.23 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 45.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 3 | |
Traits | 0 | |
Classes | 132 | |
▷ Abstract classes | 7 | 5.30% |
▷ Concrete classes | 125 | 94.70% |
▷ Final classes | 102 | 81.60% |
Methods | 622 | |
▷ Static methods | 16 | 2.57% |
▷ Public methods | 541 | 86.98% |
▷ Protected methods | 48 | 7.72% |
▷ Private methods | 33 | 5.31% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 54 | |
▷ Global constants | 6 | 11.11% |
▷ Class constants | 48 | 88.89% |
▷ Public constants | 48 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin