Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.07MB] [CPU: ▼4.91ms] Passed 4 tests
A check of server-side resources used by Terms Dictionary
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.09 | 40.09 ▼4.27 |
Dashboard /wp-admin | 3.38 ▲0.08 | 45.60 ▼0.30 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 44.93 ▲0.03 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 82.90 ▼12.39 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 32.17 ▼2.66 |
All terms /wp-admin/edit.php?post_type=dict-terms | 3.34 | 33.62 |
Tags /wp-admin/edit-tags.php?taxonomy=dict-terms-tag&post_type=dict-terms | 3.29 | 33.05 |
Add term /wp-admin/post-new.php?post_type=dict-terms | 3.42 | 51.68 |
All letters /wp-admin/edit-tags.php?taxonomy=dict-terms-letter&post_type=dict-terms | 3.29 | 31.61 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Terms Dictionary
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,838 ▲103 | 13.24 ▼1.15 | 4.80 ▲3.04 | 43.82 ▼7.08 |
Dashboard /wp-admin | 2,238 ▲46 | 5.90 ▲0.93 | 110.82 ▼2.94 | 40.02 ▲2.90 |
Posts /wp-admin/edit.php | 2,121 ▲29 | 1.99 ▼0.05 | 34.18 ▼4.02 | 30.87 ▼4.53 |
Add New Post /wp-admin/post-new.php | 1,563 ▲49 | 23.37 ▲5.85 | 660.46 ▼20.78 | 50.78 ▼2.16 |
Media Library /wp-admin/upload.php | 1,423 ▲35 | 4.20 ▲0.02 | 98.54 ▼6.78 | 41.54 ▼3.29 |
All terms /wp-admin/edit.php?post_type=dict-terms | 1,073 | 1.99 | 31.84 | 43.22 |
Tags /wp-admin/edit-tags.php?taxonomy=dict-terms-tag&post_type=dict-terms | 1,300 | 2.14 | 26.30 | 28.12 |
Add term /wp-admin/post-new.php?post_type=dict-terms | 2,234 | 7.64 | 162.37 | 62.14 |
All letters /wp-admin/edit-tags.php?taxonomy=dict-terms-letter&post_type=dict-terms | 1,297 | 2.14 | 27.46 | 27.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
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
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_permalink() in wp-content/plugins/terms-dictionary/frontend.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/terms-dictionary/dictionary.php:33
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% 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
These attributes need to be fixed:
- Screenshots: A description for screenshot #2 is missing in terms-dictionary/assets to your readme.txt
terms-dictionary/dictionary.php 92% from 13 tests
The main file in "Terms Dictionary" v. 1.5.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("terms-dictionary.php" instead of "dictionary.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
No dangerous file extensions were detected255 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 81 | 23 | 254 |
CSS | 1 | 1 | 3 | 1 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected