Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼12.59ms] Passed 4 tests
A check of server-side resources used by LuckyWP Term Description Rich Text
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 44.73 ▲4.39 |
Dashboard /wp-admin | 3.33 ▼0.01 | 51.31 ▼17.07 |
Posts /wp-admin/edit.php | 3.44 ▲0.09 | 50.10 ▼1.47 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 91.68 ▼34.36 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 38.62 ▲2.53 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
LuckyWP Term Description Rich Text: 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,789 ▲28 | 14.29 ▲0.01 | 1.80 ▲0.11 | 47.35 ▲6.63 |
Dashboard /wp-admin | 2,195 ▲14 | 5.60 ▼0.09 | 93.81 ▼11.17 | 42.99 ▼2.80 |
Posts /wp-admin/edit.php | 2,097 ▼0 | 2.05 ▲0.01 | 40.73 ▲4.91 | 34.46 ▲0.90 |
Add New Post /wp-admin/post-new.php | 1,545 ▼1 | 23.36 ▲0.22 | 603.90 ▼22.22 | 51.25 ▲5.19 |
Media Library /wp-admin/upload.php | 1,403 ▲6 | 4.26 ▲0.07 | 96.38 ▼0.87 | 42.40 ▼4.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 7× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'luckywp\\termDescriptionRichText\\core\\base\\BaseObject' not found in wp-content/plugins/luckywp-term-description-rich-text/admin/Admin.php:9
- > PHP Fatal error
Uncaught Error: Class 'luckywp\\termDescriptionRichText\\admin\\Admin' not found in wp-content/plugins/luckywp-term-description-rich-text/config/plugin.php:10
- > PHP Fatal error
Uncaught Error: Class 'luckywp\\termDescriptionRichText\\core\\base\\ServiceLocator' not found in wp-content/plugins/luckywp-term-description-rich-text/core/base/BasePlugin.php:11
- > PHP Fatal error
Uncaught Error: Class 'luckywp\\termDescriptionRichText\\core\\base\\BasePlugin' not found in wp-content/plugins/luckywp-term-description-rich-text/plugin/Plugin.php:7
- > PHP Fatal error
Uncaught Error: Class 'luckywp\\termDescriptionRichText\\core\\base\\BaseObject' not found in wp-content/plugins/luckywp-term-description-rich-text/core/base/ServiceLocator.php:9
- > PHP Fatal error
Uncaught Error: Class 'luckywp\\termDescriptionRichText\\core\\base\\BaseObject' not found in wp-content/plugins/luckywp-term-description-rich-text/front/Front.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function luckywp\\termDescriptionRichText\\core\\base\\add_action() in wp-content/plugins/luckywp-term-description-rich-text/core/base/BasePlugin.php:62
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
5 plugin tags: term description, wysiwyg, html, terms, tinymce
luckywp-term-description-rich-text/luckywp-term-description-rich-text.php 92% from 13 tests
The main file in "LuckyWP Term Description Rich Text" v. 1.0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin480 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 104 | 205 | 478 |
CSS | 1 | 0 | 0 | 1 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An overview 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.36 |
Average class complexity | 7.89 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 21.00 |
Average method complexity | 2.65 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 2 | 22.22% |
▷ Concrete classes | 7 | 77.78% |
▷ Final classes | 0 | 0.00% |
Methods | 39 | |
▷ Static methods | 5 | 12.82% |
▷ Public methods | 31 | 79.49% |
▷ Protected methods | 7 | 17.95% |
▷ Private methods | 1 | 2.56% |
Functions | 3 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 3 | 100.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
No PNG images were found in this plugin