Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.22MB] [CPU: ▲12.25ms] Passed 4 tests
Analyzing server-side resources used by Merge + Minify + Refresh
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.16 ▲0.70 | 48.84 ▲5.91 |
Dashboard /wp-admin | 3.58 ▲0.23 | 1,057.93 ▲997.60 |
Posts /wp-admin/edit.php | 3.61 ▲0.26 | 68.69 ▲21.58 |
Add New Post /wp-admin/post-new.php | 6.08 ▲0.19 | 120.26 ▲14.43 |
Media Library /wp-admin/upload.php | 3.42 ▲0.19 | 40.08 ▲7.06 |
Merge + Minify + Refresh /wp-admin/options-general.php?page=merge-minify-refresh | 3.39 | 39.21 |
Server storage [IO: ▲13.58MB] [DB: ▲0.00MB] 67% from 3 tests
A short overview of filesystem and database impact
Just a few items left to fix
- There were 30 files (1,048.41KB) illegally modified outside of "wp-content/plugins/merge-minify-refresh/" and "wp-content/uploads/"
- (new file) wp-content/mmr/106e0e26-1696829338.js
- (new file) wp-content/mmr/106e0e26-1696829338.js.log
- (new file) wp-content/mmr/14d40365-1696829338.min.js
- (new file) wp-content/mmr/2f8a0570-1696829337.js.log
- (new file) wp-content/mmr/2f8a0570-1696829337.js
- (new file) wp-content/mmr/44ed2d01-1700206702.css
- (new file) wp-content/mmr/106e0e26-1696829338.min.js
- (new file) wp-content/mmr/14d40365-1696829338.js
- (new file) wp-content/mmr/2f8a0570-1696829337.min.js
- (new file) wp-content/mmr/14d40365-1696829338.js.log
- ...
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
Merge + Minify + Refresh: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,763 ▲1 | 14.14 ▼0.50 | 1.94 ▲0.34 | 37.57 ▼6.80 |
Dashboard /wp-admin | 2,199 ▲21 | 5.63 ▼0.06 | 142.35 ▲44.06 | 59.51 ▲14.39 |
Posts /wp-admin/edit.php | 2,086 ▼14 | 1.98 ▲0.01 | 51.84 ▲12.35 | 49.28 ▲14.91 |
Add New Post /wp-admin/post-new.php | 1,683 ▲157 | 22.19 ▼1.08 | 1,289.22 ▲640.79 | 91.46 ▲29.28 |
Media Library /wp-admin/upload.php | 1,407 ▲10 | 4.26 ▲0.17 | 98.34 ▼7.06 | 43.72 ▼2.48 |
Merge + Minify + Refresh /wp-admin/options-general.php?page=merge-minify-refresh | 1,284 | 2.28 | 33.18 | 35.07 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not 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
Almost there! Just fix the following items
- 8× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/merge-minify-refresh/merge-minify-refresh.php:71
- > PHP Fatal error
Uncaught Error: Class 'MatthiasMullie\\Minify\\Exceptions\\BasicException' not found in wp-content/plugins/merge-minify-refresh/Minify/src/Exceptions/FileImportException.php:20
- > PHP Fatal error
Uncaught Error: Interface 'MatthiasMullie\\PathConverter\\ConverterInterface' not found in wp-content/plugins/merge-minify-refresh/Minify/Converter.php:19
- > PHP Fatal error
Uncaught Error: Class 'MatthiasMullie\\Minify\\Minify' not found in wp-content/plugins/merge-minify-refresh/Minify/src/JS.php:25
- > PHP Fatal error
Uncaught Error: Class 'MatthiasMullie\\Minify\\Minify' not found in wp-content/plugins/merge-minify-refresh/Minify/src/CSS.php:29
- > PHP Fatal error
Uncaught Error: Class 'MatthiasMullie\\Minify\\Exceptions\\BasicException' not found in wp-content/plugins/merge-minify-refresh/Minify/src/Exceptions/IOException.php:20
- > PHP Fatal error
Uncaught Error: Interface 'MatthiasMullie\\PathConverter\\ConverterInterface' not found in wp-content/plugins/merge-minify-refresh/Minify/NoConverter.php:14
- > PHP Fatal error
Uncaught Error: Class 'MatthiasMullie\\Minify\\Exception' not found in wp-content/plugins/merge-minify-refresh/Minify/src/Exceptions/BasicException.php:22
- > 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 Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
7 plugin tags: litespeed, concatenate, merge, apache, refresh...
merge-minify-refresh/merge-minify-refresh.php Passed 13 tests
The main PHP script in "Merge + Minify + Refresh" version 2.2 is automatically included on every request by WordPress
36 characters long description:
Merge/Concatenate & Minify CSS & JS.
Code Analysis 5% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
These items require your attention
- Even if your plugin relies on executable files (for example a companion app), never distribute executable files with your plugin
- .jar - Java Archive in Firefox, IE, Chrome, Safari
- ☣ wp-content/plugins/merge-minify-refresh/closure-compiler.jar
- .jar - Java Archive in Firefox, IE, Chrome, Safari
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 530 | 1,581 | 1,639 |
CSS | 1 | 22 | 0 | 151 |
JavaScript | 1 | 10 | 0 | 126 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 22.92 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 169.00 |
Average method complexity | 3.91 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 3 | 27.27% |
▷ Concrete classes | 8 | 72.73% |
▷ Final classes | 0 | 0.00% |
Methods | 91 | |
▷ Static methods | 1 | 1.10% |
▷ Public methods | 36 | 39.56% |
▷ Protected methods | 37 | 40.66% |
▷ Private methods | 18 | 19.78% |
Functions | 12 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 12 | 100.00% |
Constants | 6 | |
▷ Global constants | 4 | 66.67% |
▷ Class constants | 2 | 33.33% |
▷ Public constants | 1 | 50.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 files were detected