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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.08ms] Passed 4 tests
An overview of server-side resources used by MnCombine
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 41.55 ▼0.72 |
Dashboard /wp-admin | 3.33 ▼0.02 | 45.04 ▼18.82 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 48.47 ▼1.33 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 94.46 ▲0.58 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.86 ▲0.56 |
Asset Combine /wp-admin/plugins.php?page=mn-combine | 3.31 | 30.69 |
Server storage [IO: ▲0.24MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
MnCombine: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲83 | 13.29 ▼0.97 | 1.95 ▲0.03 | 44.15 ▲0.63 |
Dashboard /wp-admin | 2,207 ▲19 | 4.90 ▼0.96 | 110.25 ▲1.45 | 43.37 ▼0.81 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 1.98 ▼0.01 | 38.89 ▼1.96 | 37.87 ▼5.41 |
Add New Post /wp-admin/post-new.php | 1,544 ▲30 | 23.26 ▲5.74 | 687.66 ▼3.99 | 54.29 ▼19.23 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.18 ▲0.03 | 97.60 ▼9.44 | 44.53 ▼2.15 |
Asset Combine /wp-admin/plugins.php?page=mn-combine | 1,084 | 1.71 | 26.86 | 33.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/plugins.php?page=mn-combine
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/plugins.php?page=mn-combine
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 0% 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
Please take a closer look at the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/mncombine/views/display.php
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function screen_icon() in wp-content/plugins/mncombine/views/admin.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function screen_icon() in wp-content/plugins/mncombine/views/js.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function screen_icon() in wp-content/plugins/mncombine/views/css.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function screen_icon() in wp-content/plugins/mncombine/views/cache.php:17
- > 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 86% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Plugin Name: Please specify the plugin name on the first line (
=== mncombine ===
) - Tags: You are using too many tags: 14 tag instead of maximum 10
- Screenshots: These screenshots require images: #1 (Choose the compression settings and mode), #2 (Select which files to combine from a list of files available in your WP install, active plugins, and active theme), #3 (Total request of 17 uncompressed/combined files : 5136ms. 79.254kb of transfered data. Page load time 1.19s), #4 (Total request of 3 compressed/combined files : 578ms. 66kb of transfered data. Page load time 1.13s. Significantly more)
mncombine/mncombine.php 92% from 13 tests
"MnCombine" version 1.1.6's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
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
Everything looks great! No dangerous files found in this plugin1,703 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 302 | 755 | 1,508 |
PO File | 1 | 48 | 49 | 160 |
JavaScript | 2 | 4 | 1 | 28 |
CSS | 2 | 0 | 2 | 7 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 29.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 125.00 |
Average method complexity | 4.81 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 1 | 14.29% |
▷ Concrete classes | 6 | 85.71% |
▷ Final classes | 0 | 0.00% |
Methods | 52 | |
▷ Static methods | 5 | 9.62% |
▷ Public methods | 29 | 55.77% |
▷ Protected methods | 12 | 23.08% |
▷ Private methods | 11 | 21.15% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 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
6 PNG files occupy 0.11MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 19.24KB | 8.55KB | ▼ 55.58% |
screenshot-3.png | 25.47KB | 10.19KB | ▼ 59.99% |
screenshot-4.png | 9.23KB | 4.72KB | ▼ 48.91% |
assets/banner-772x250.png | 11.50KB | 5.06KB | ▼ 56.00% |
screenshot-2.png | 28.81KB | 9.40KB | ▼ 67.38% |