Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.00MB] [CPU: ▼3.88ms] Passed 4 tests
Server-side resources used by Term Management Tools
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 40.62 ▲5.63 |
Dashboard /wp-admin | 3.31 ▼0.03 | 46.14 ▼12.98 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 48.15 ▲3.91 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 80.99 ▼10.06 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 35.05 ▲3.61 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Term Management Tools
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.24 ▼1.12 | 1.83 ▲0.16 | 44.55 ▲2.54 |
Dashboard /wp-admin | 2,203 ▲15 | 5.83 ▲0.92 | 98.25 ▼3.52 | 40.39 ▼2.39 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 1.97 ▼0.09 | 36.56 ▲1.43 | 33.31 ▼1.64 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 23.32 ▲0.11 | 634.95 ▼1.34 | 58.97 ▲12.75 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.20 ▲0.05 | 101.21 ▲3.57 | 44.63 ▲1.86 |
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
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 5× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'CNMD\\TMT\\Base' not found in wp-content/plugins/term-management-tools/classes/class-HTML.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/term-management-tools/term-management-tools.php:15
- > PHP Fatal error
Uncaught Error: Class 'CNMD\\TMT\\Base' not found in wp-content/plugins/term-management-tools/classes/class-TermManagementTools.php:10
- > PHP Fatal error
Uncaught Error: Class 'CNMD\\TMT\\Base' not found in wp-content/plugins/term-management-tools/classes/class-WPML.php:14
- > PHP Fatal error
Uncaught Error: Class 'CNMD\\TMT\\Base' not found in wp-content/plugins/term-management-tools/classes/class-Handlers.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
term-management-tools/term-management-tools.php 92% from 13 tests
The main file in "Term Management Tools" v. 2.0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 165 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin779 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 146 | 415 | 526 |
PO File | 7 | 57 | 89 | 204 |
JavaScript | 2 | 4 | 0 | 49 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 18.00 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 3.90 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 1 | 20.00% |
▷ Concrete classes | 4 | 80.00% |
▷ Final classes | 0 | 0.00% |
Methods | 29 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 37.93% |
▷ Protected methods | 6 | 20.69% |
▷ Private methods | 12 | 41.38% |
Functions | 3 | |
▷ Named functions | 1 | 33.33% |
▷ Anonymous functions | 2 | 66.67% |
Constants | 2 | |
▷ Global constants | 2 | 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
There were not PNG files found in your plugin