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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.52MB] [CPU: ▼0.04ms] Passed 4 tests
A check of server-side resources used by LuckyWP Glossary
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.93 ▲0.47 | 42.79 ▲1.04 |
Dashboard /wp-admin | 3.84 ▲0.54 | 53.53 ▲7.72 |
Posts /wp-admin/edit.php | 3.89 ▲0.54 | 50.10 ▼1.10 |
Add New Post /wp-admin/post-new.php | 6.46 ▲0.57 | 89.82 ▼6.01 |
Media Library /wp-admin/upload.php | 3.76 ▲0.54 | 44.88 ▲5.91 |
Settings /wp-admin/edit.php?post_type=lwpgls_term&page=lwpgls_settings | 3.80 | 37.85 |
All Terms /wp-admin/edit.php?post_type=lwpgls_term | 3.81 | 38.25 |
Add Term /wp-admin/post-new.php?post_type=lwpgls_term | 3.92 | 57.55 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 61 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
lwpgls_general |
db_upgraded |
widget_theysaidso_widget |
lwpgls_misc |
Browser metrics Passed 4 tests
LuckyWP Glossary: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,843 ▲82 | 14.73 ▲0.18 | 1.69 ▼0.13 | 39.26 ▲2.90 |
Dashboard /wp-admin | 2,246 ▲72 | 5.63 ▲0.03 | 85.22 ▼7.21 | 37.42 ▼0.35 |
Posts /wp-admin/edit.php | 2,134 ▲34 | 2.10 ▲0.10 | 36.77 ▼2.41 | 30.27 ▼2.04 |
Add New Post /wp-admin/post-new.php | 1,572 ▲44 | 22.94 ▼0.06 | 605.76 ▼14.00 | 69.20 ▲4.00 |
Media Library /wp-admin/upload.php | 1,448 ▲48 | 4.27 ▲0.08 | 104.36 ▼6.37 | 48.16 ▼0.08 |
Settings /wp-admin/edit.php?post_type=lwpgls_term&page=lwpgls_settings | 1,100 | 2.17 | 27.29 | 39.77 |
All Terms /wp-admin/edit.php?post_type=lwpgls_term | 1,116 | 1.97 | 32.30 | 32.70 |
Add Term /wp-admin/post-new.php?post_type=lwpgls_term | 2,245 | 7.69 | 186.79 | 80.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- lwpgls_misc
Smoke tests 50% 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)
The smoke test was a success, however most plugin functionality was not tested
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 items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/luckywp-glossary/front/views/archive-term.php
- 43× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'luckywp\\glossary\\core\\base\\Widget' not found in wp-content/plugins/luckywp-glossary/admin/widgets/termSynonymsMetabox/TermSynonymsMetabox.php:10
- > PHP Fatal error
Uncaught Error: Class 'luckywp\\glossary\\core\\base\\BaseObject' not found in wp-content/plugins/luckywp-glossary/front/Route.php:10
- > PHP Fatal error
Uncaught Error: Class 'luckywp\\glossary\\core\\front\\BaseFront' not found in wp-content/plugins/luckywp-glossary/front/Front.php:11
- > PHP Fatal error
Uncaught Error: Class 'luckywp\\glossary\\core\\base\\BaseObject' not found in wp-content/plugins/luckywp-glossary/core/base/Model.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/luckywp-glossary/admin/views/settings/index.php:7
- > PHP Fatal error
Uncaught Error: Class 'luckywp\\glossary\\core\\base\\BasePlugin' not found in wp-content/plugins/luckywp-glossary/plugin/Plugin.php:31
- > PHP Fatal error
Uncaught Error: Class 'luckywp\\glossary\\core\\base\\Widget' not found in wp-content/plugins/luckywp-glossary/front/widgets/TermsArchive.php:10
- > PHP Fatal error
Uncaught Error: Class 'luckywp\\glossary\\core\\base\\BaseObject' not found in wp-content/plugins/luckywp-glossary/core/base/View.php:5
- > PHP Fatal error
Uncaught Error: Class 'luckywp\\glossary\\core\\base\\BaseObject' not found in wp-content/plugins/luckywp-glossary/core/wp/RewriteRules.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/luckywp-glossary/config/settings.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
5 plugin tags: wiki, synonyms, dictionary, glossary, terms
luckywp-glossary/luckywp-glossary.php Passed 13 tests
This is the main PHP file of "LuckyWP Glossary" version 1.0.9, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
85 characters long description:
The plugin implements the glossary/dictionary functionality with support of synonyms.
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
Good job! No executable or dangerous file extensions detected3,003 lines of code in 57 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 53 | 539 | 943 | 2,967 |
JavaScript | 1 | 2 | 3 | 23 |
CSS | 3 | 0 | 0 | 13 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 10.72 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 57.00 |
Average method complexity | 2.99 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 19 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 42 | |
▷ Abstract classes | 6 | 14.29% |
▷ Concrete classes | 36 | 85.71% |
▷ Final classes | 0 | 0.00% |
Methods | 197 | |
▷ Static methods | 41 | 20.81% |
▷ Public methods | 185 | 93.91% |
▷ Protected methods | 10 | 5.08% |
▷ Private methods | 2 | 1.02% |
Functions | 34 | |
▷ Named functions | 4 | 11.76% |
▷ Anonymous functions | 30 | 88.24% |
Constants | 14 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 14 | 100.00% |
▷ Public constants | 14 | 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
There were not PNG files found in your plugin