Benchmarks
Plugin footprint 82% 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.10MB] [CPU: ▼6.82ms] Passed 4 tests
An overview of server-side resources used by Google Speed Optimization by dTevik
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 38.56 ▼3.68 |
Dashboard /wp-admin | 3.41 ▲0.11 | 42.78 ▼8.85 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 46.83 ▲2.01 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.20 | 82.15 ▼16.74 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 33.47 ▲2.13 |
Server storage [IO: ▲1.71MB] [DB: ▲0.00MB] 67% from 3 tests
Analyzing filesystem and database footprints of this plugin
It is recommended to fix the following issues
- The plugin illegally modified 2 files (313.33KB) outside of "wp-content/plugins/tevik-minimized/" and "wp-content/uploads/"
- (new file) wp-content/cache/minified/js-minified.js
- (new file) wp-content/cache/minified/css-minified.css
Filesystem: 43 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
tevik_minimization_js |
widget_theysaidso_widget |
db_upgraded |
tevik_minimization_css |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Google Speed Optimization by dTevik
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,719 ▼16 | 13.71 ▼0.69 | 1.77 ▼0.13 | 37.58 ▼10.80 |
Dashboard /wp-admin | 2,212 ▲24 | 4.83 ▼1.05 | 113.31 ▼4.71 | 40.35 ▼3.70 |
Posts /wp-admin/edit.php | 2,101 ▲12 | 2.17 ▲0.17 | 41.12 ▲0.87 | 35.90 ▼1.01 |
Add New Post /wp-admin/post-new.php | 1,537 ▲1 | 23.23 ▲0.13 | 676.16 ▲7.48 | 66.98 ▲8.53 |
Media Library /wp-admin/upload.php | 1,397 ▲15 | 4.27 ▼0.08 | 142.58 ▲38.82 | 52.86 ▲6.44 |
Uninstaller [IO: ▲0.31MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin does not fully uninstall, leaving 8 options in the database
- tevik_minimization_js
- tevik_minimization_css
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 8× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Interface 'MatthiasMullie\\PathConverter\\ConverterInterface' not found in wp-content/plugins/tevik-minimized/minify/vendor/matthiasmullie/path-converter/src/Converter.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tevik-minimized/tevik_mininmized_main.php:12
- > PHP Fatal error
Uncaught Error: Class 'MatthiasMullie\\Minify\\Exception' not found in wp-content/plugins/tevik-minimized/minify/vendor/matthiasmullie/minify/src/Exceptions/BasicException.php:21
- > PHP Fatal error
Uncaught Error: Interface 'MatthiasMullie\\PathConverter\\ConverterInterface' not found in wp-content/plugins/tevik-minimized/minify/vendor/matthiasmullie/path-converter/src/NoConverter.php:14
- > PHP Fatal error
Uncaught Error: Class 'MatthiasMullie\\Minify\\Exceptions\\BasicException' not found in wp-content/plugins/tevik-minimized/minify/vendor/matthiasmullie/minify/src/Exceptions/FileImportException.php:19
- > PHP Fatal error
Uncaught Error: Class 'MatthiasMullie\\Minify\\Minify' not found in wp-content/plugins/tevik-minimized/minify/vendor/matthiasmullie/minify/src/CSS.php:29
- > PHP Fatal error
Uncaught Error: Class 'MatthiasMullie\\Minify\\Exceptions\\BasicException' not found in wp-content/plugins/tevik-minimized/minify/vendor/matthiasmullie/minify/src/Exceptions/IOException.php:19
- > PHP Fatal error
Uncaught Error: Class 'MatthiasMullie\\Minify\\Minify' not found in wp-content/plugins/tevik-minimized/minify/vendor/matthiasmullie/minify/src/JS.php:24
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
- Screenshots: A description for screenshot #3 is required in tevik-minimized/assets to your readme.txt
tevik-minimized/tevik_mininmized_main.php 85% from 13 tests
"Google Speed Optimization by dTevik" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("tevik-minimized.php" instead of "tevik_mininmized_main.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 658 characters long)
Code Analysis 5% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Almost there! Just fix the following issues
- Even if your plugin relies on executable files (for example a companion app), never distribute executable files with your plugin
- .bat - Batch File in Windows
- ☣ wp-content/plugins/tevik-minimized/minify/vendor/bin/minifycss.bat
- ☣ wp-content/plugins/tevik-minimized/minify/vendor/bin/minifyjs.bat
- .bat - Batch File in Windows
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 20 | 406 | 1,236 | 1,438 |
JSON | 3 | 0 | 0 | 181 |
Markdown | 1 | 21 | 0 | 38 |
YAML | 1 | 0 | 0 | 31 |
Bourne Shell | 2 | 6 | 10 | 18 |
Dockerfile | 1 | 2 | 0 | 11 |
DOS Batch | 2 | 0 | 0 | 8 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 11.62 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 3.06 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 3 | 25.00% |
▷ Concrete classes | 9 | 75.00% |
▷ Final classes | 0 | 0.00% |
Methods | 73 | |
▷ Static methods | 3 | 4.11% |
▷ Public methods | 38 | 52.05% |
▷ Protected methods | 34 | 46.58% |
▷ Private methods | 1 | 1.37% |
Functions | 14 | |
▷ Named functions | 4 | 28.57% |
▷ Anonymous functions | 10 | 71.43% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.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
No PNG images were found in this plugin