Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼6.97ms] Passed 4 tests
Server-side resources used by AutoConvert Greeklish Permalinks
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 39.28 ▼14.70 |
Dashboard /wp-admin | 3.33 ▲0.03 | 45.17 ▼5.26 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 46.07 ▼1.96 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 92.27 ▼5.97 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 36.67 ▲0.68 |
Convert Greek Permalinks /wp-admin/options-general.php?page=agp | 3.26 | 33.13 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 27 new files
Database: no new tables, 11 new options
New WordPress options |
---|
agp_automatic_post |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
agp_automatic |
agp_version |
widget_recent-comments |
agp_automatic_tax |
agp_diphthongs |
... |
Browser metrics Passed 4 tests
A check of browser resources used by AutoConvert Greeklish Permalinks
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.28 ▼1.09 | 1.60 ▼0.24 | 40.87 ▼3.38 |
Dashboard /wp-admin | 2,210 ▲22 | 5.88 ▲0.03 | 98.46 ▼4.07 | 38.53 ▼9.77 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.01 ▼0.00 | 41.57 ▲5.53 | 35.05 ▼1.31 |
Add New Post /wp-admin/post-new.php | 1,516 ▼4 | 17.62 ▼5.73 | 652.77 ▼37.87 | 67.07 ▼2.99 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.22 ▲0.03 | 92.89 ▼16.12 | 40.78 ▼9.84 |
Convert Greek Permalinks /wp-admin/options-general.php?page=agp | 1,055 | 2.26 | 39.75 | 29.73 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin did not uninstall successfully, leaving 11 options in the database
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- agp_version
- db_upgraded
- agp_automatic
- widget_recent-posts
- agp_automatic_post
- widget_theysaidso_widget
- agp_diphthongs
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not 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: Class 'WP_CLI_Command' not found in wp-content/plugins/autoconvert-greeklish-permalinks/includes/agp-cli.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/autoconvert-greeklish-permalinks/admin/partials/agp-automatic-taxonomies-option-view.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/autoconvert-greeklish-permalinks/admin/partials/agp-automatic-option-view.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/autoconvert-greeklish-permalinks/admin/partials/agp-automatic-posts-option-view.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/autoconvert-greeklish-permalinks/admin/partials/agp-diphthongs-option-view.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/autoconvert-greeklish-permalinks/admin/partials/agp-converter-view.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/autoconvert-greeklish-permalinks/admin/partials/agp-settings-view.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/autoconvert-greeklish-permalinks/admin/partials/agp-admin-view.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
8 plugin tags: greek, links, permalinks, autoconvert, agp...
autoconvert-greeklish-permalinks/auto-gr-permalinks.php 69% from 13 tests
The entry point to "AutoConvert Greeklish Permalinks" version 4.1.2 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Requires at least: Required version must be the same as the one declared in readme.txt ("3.8" instead of "2.0.0")
- Domain Path: The domain path is invalid: folder "/languages" does not exist
- 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: Please rename the main PHP file in this plugin to the plugin slug ("autoconvert-greeklish-permalinks.php" instead of "auto-gr-permalinks.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin1,271 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 19 | 262 | 920 | 1,267 |
CSS | 2 | 0 | 0 | 2 |
JavaScript | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 21.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 71.00 |
Average method complexity | 4.16 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 58 | |
▷ Static methods | 9 | 15.52% |
▷ Public methods | 53 | 91.38% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 8.62% |
Functions | 8 | |
▷ Named functions | 2 | 25.00% |
▷ Anonymous functions | 6 | 75.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin