Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.11MB] [CPU: ▼7.21ms] Passed 4 tests
A check of server-side resources used by Greek Multi Tool - Fix peralinks, accents, auto create menus and more
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 40.62 ▼2.14 |
Dashboard /wp-admin | 3.43 ▲0.09 | 49.28 ▼8.63 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 45.22 ▼3.97 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 81.35 ▼14.10 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 41.29 ▲4.95 |
Server storage [IO: ▲1.23MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 48 new files
Database: 1 new table, 10 new options
New tables |
---|
wp_grmlt |
New WordPress options |
---|
grmlt_redirect |
theysaidso_admin_options |
grmlt_uar_js |
widget_recent-comments |
grmlt_text |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
grmlt_diphthongs |
can_compress_scripts |
Browser metrics Passed 4 tests
Greek Multi Tool - Fix peralinks, accents, auto create menus and more: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,936 ▲175 | 13.89 ▼0.66 | 20.28 ▲18.66 | 41.96 ▲1.26 |
Dashboard /wp-admin | 2,210 ▲33 | 5.62 ▼0.07 | 94.23 ▲7.92 | 42.99 ▲1.97 |
Posts /wp-admin/edit.php | 2,112 ▲12 | 1.97 ▲0.01 | 33.82 ▼2.13 | 34.29 ▼5.05 |
Add New Post /wp-admin/post-new.php | 1,538 ▲12 | 23.20 ▼0.39 | 683.58 ▲27.12 | 53.67 ▼5.04 |
Media Library /wp-admin/upload.php | 1,412 ▲9 | 4.16 ▼0.09 | 97.71 ▼12.22 | 43.58 ▼3.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/greek-multi-tool/public/partials/grmlt-plugin-public-display.php
- 9× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
require(): Failed opening required 'WP_PLUGIN_DIR/greek-multi-tool/admin/functions/menu-creation.php' (include_path='.:/usr/share/php') in wp-content/plugins/greek-multi-tool/admin/partials/settings-page/menu-builder.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/greek-multi-tool/admin/partials/settings-page/301-redirect.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function register_setting() in wp-content/plugins/greek-multi-tool/admin/partials/settings-page/grmlt-plugin-admin-main-settings-page.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/greek-multi-tool/admin/partials/settings-page/convert-old-permalinks.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/greek-multi-tool/admin/partials/settings-page/permalinks-settings.php:4
- > PHP Warning
Use of undefined constant WP_PLUGIN_DIR - assumed 'WP_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/greek-multi-tool/admin/partials/settings-page/menu-builder.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/greek-multi-tool/admin/partials/settings-page/uppercase-accent-remover-settings.php:3
- > PHP Fatal error
Uncaught Error: Call to a member function get_results() on null in wp-content/plugins/greek-multi-tool/admin/functions/oldtranslator.php:65
- > PHP Warning
require(WP_PLUGIN_DIR/greek-multi-tool/admin/functions/menu-creation.php): failed to open stream: No such file or directory in wp-content/plugins/greek-multi-tool/admin/partials/settings-page/menu-builder.php on line 7
- > 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 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
- Screenshots: These screenshots have no corresponding images in /assets: #2 (Greeklish Permalink Switch), #3 (Remove Uppercase Accents Switch), #4 (Greek Diphthongs Options), #5 (Convert Old Permalinks), #6 (Remove One/Two Letter Words), #7 (Exclude Stop words from permalinks)
greek-multi-tool/grmlt-plugin.php 77% from 13 tests
Analyzing the main PHP file in "Greek Multi Tool - Fix peralinks, accents, auto create menus and more" version 2.3.0
It is important to fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: Name the main plugin file the same as the plugin slug ("greek-multi-tool.php" instead of "grmlt-plugin.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 211 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin1,583 lines of code in 33 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 23 | 293 | 680 | 1,155 |
PO File | 1 | 61 | 75 | 203 |
CSS | 5 | 13 | 19 | 159 |
JavaScript | 4 | 9 | 63 | 66 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 2.57 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 1.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 29 | |
▷ Static methods | 5 | 17.24% |
▷ Public methods | 24 | 82.76% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 17.24% |
Functions | 19 | |
▷ Named functions | 19 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
4 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/grmlt-wave.png | 11.03KB | 4.53KB | ▼ 58.93% |
admin/images/icon-256x256.png | 10.46KB | 6.31KB | ▼ 39.70% |
admin/images/icon-128x128.png | 5.52KB | 3.75KB | ▼ 32.00% |
admin/images/grmlt-welcome.png | 16.69KB | 7.03KB | ▼ 57.88% |