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.35MB] [CPU: ▼3.71ms] Passed 4 tests
Server-side resources used by GM Adaptive CSS Grid Columns
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.83 ▲0.37 | 52.55 ▲16.23 |
Dashboard /wp-admin | 3.65 ▲0.35 | 58.78 ▲9.66 |
Posts /wp-admin/edit.php | 3.70 ▲0.35 | 45.53 ▼4.15 |
Add New Post /wp-admin/post-new.php | 6.26 ▲0.38 | 81.76 ▼27.08 |
Media Library /wp-admin/upload.php | 3.58 ▲0.35 | 37.94 ▲6.72 |
Server storage [IO: ▲0.73MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 105 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
gmadaptive_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for GM Adaptive CSS Grid Columns
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲79 | 13.26 ▼1.32 | 4.36 ▲2.48 | 44.70 ▲3.88 |
Dashboard /wp-admin | 2,226 ▲38 | 5.83 ▲0.93 | 99.24 ▼7.37 | 39.70 ▼0.75 |
Posts /wp-admin/edit.php | 2,109 ▲20 | 2.01 ▼0.05 | 33.45 ▼7.94 | 33.24 ▼2.66 |
Add New Post /wp-admin/post-new.php | 1,534 ▲14 | 17.75 ▼5.37 | 690.09 ▲80.69 | 54.49 ▲2.01 |
Media Library /wp-admin/upload.php | 1,414 ▲26 | 4.26 ▼0.16 | 94.32 ▼3.95 | 40.57 ▼4.00 |
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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
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 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 fix the following items
- 25× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'ScssPhp\\ScssPhp\\Block' not found in wp-content/plugins/gm-adaptive-css-grid-columns/vendor/scssphp/scssphp/src/Block/AtRootBlock.php:21
- > PHP Fatal error
Uncaught Error: Class 'ScssPhp\\ScssPhp\\Formatter' not found in wp-content/plugins/gm-adaptive-css-grid-columns/vendor/scssphp/scssphp/src/Formatter/Expanded.php:24
- > PHP Fatal error
Uncaught Error: Class 'ScssPhp\\ScssPhp\\Formatter' not found in wp-content/plugins/gm-adaptive-css-grid-columns/vendor/scssphp/scssphp/src/Formatter/Compact.php:26
- > PHP Fatal error
Uncaught Error: Interface 'ScssPhp\\ScssPhp\\Exception\\SassException' not found in wp-content/plugins/gm-adaptive-css-grid-columns/vendor/scssphp/scssphp/src/Exception/ParserException.php:22
- > PHP Fatal error
Uncaught Error: Class 'ScssPhp\\ScssPhp\\Block' not found in wp-content/plugins/gm-adaptive-css-grid-columns/vendor/scssphp/scssphp/src/Block/DirectiveBlock.php:21
- > PHP Fatal error
Uncaught Error: Class 'ScssPhp\\ScssPhp\\Block' not found in wp-content/plugins/gm-adaptive-css-grid-columns/vendor/scssphp/scssphp/src/Block/ElseBlock.php:21
- > PHP Fatal error
Uncaught Error: Interface 'ScssPhp\\ScssPhp\\Exception\\SassException' not found in wp-content/plugins/gm-adaptive-css-grid-columns/vendor/scssphp/scssphp/src/Exception/RangeException.php:22
- > PHP Fatal error
Uncaught Error: Class 'ScssPhp\\ScssPhp\\Formatter' not found in wp-content/plugins/gm-adaptive-css-grid-columns/vendor/scssphp/scssphp/src/Formatter/Debug.php:26
- > PHP Fatal error
Uncaught Error: Class 'ScssPhp\\ScssPhp\\Block' not found in wp-content/plugins/gm-adaptive-css-grid-columns/vendor/scssphp/scssphp/src/Block/EachBlock.php:21
- > PHP Fatal error
Uncaught Error: Class 'ScssPhp\\ScssPhp\\Formatter' not found in wp-content/plugins/gm-adaptive-css-grid-columns/vendor/scssphp/scssphp/src/Formatter/Compressed.php:24
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 81% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Donate link: Please fix this invalid url: ""
- Requires at least: Version not formatted correctly
- Requires php: Version not formatted correctly
gm-adaptive-css-grid-columns/gm-adaptive-css-grid-columns.php Passed 13 tests
The principal PHP file in "GM Adaptive CSS Grid Columns" v. 1.0.4 is loaded by WordPress automatically on each request
92 characters long description:
GM Adaptive CSS Grid Columns is a plugin that allows you to create Adaptive CSS Grid Columns
Code Analysis 0% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
It is important to fix the following items
- 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/gm-adaptive-css-grid-columns/vendor/bin/pscss.bat
- .bat - Batch File in Windows
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 69 | 3,601 | 6,123 | 12,489 |
PO File | 5 | 208 | 301 | 522 |
JSON | 3 | 0 | 0 | 211 |
Sass | 3 | 10 | 6 | 64 |
Markdown | 2 | 28 | 0 | 63 |
CSS | 2 | 3 | 3 | 15 |
DOS Batch | 1 | 0 | 0 | 5 |
JavaScript | 1 | 2 | 15 | 0 |
PHP code 0% from 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Please fix the following
- Cyclomatic complexity of classes has to be reduced to less than 1000 (currently 1,493)
- Please reduce cyclomatic complexity of methods to less than 100 (currently 198)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 46.26 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1,493.00 |
Average method complexity | 5.45 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 198.00 |
Code structure | ||
---|---|---|
Namespaces | 12 | |
Interfaces | 2 | |
Traits | 0 | |
Classes | 56 | |
▷ Abstract classes | 2 | 3.57% |
▷ Concrete classes | 54 | 96.43% |
▷ Final classes | 4 | 7.41% |
Methods | 571 | |
▷ Static methods | 51 | 8.93% |
▷ Public methods | 214 | 37.48% |
▷ Protected methods | 305 | 53.42% |
▷ Private methods | 52 | 9.11% |
Functions | 50 | |
▷ Named functions | 23 | 46.00% |
▷ Anonymous functions | 27 | 54.00% |
Constants | 78 | |
▷ Global constants | 6 | 7.69% |
▷ Class constants | 72 | 92.31% |
▷ Public constants | 72 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin