Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.46MB] [CPU: ▼6.43ms] Passed 4 tests
A check of server-side resources used by JSM Show Term Metadata
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 36.67 ▼5.12 |
Dashboard /wp-admin | 3.93 ▲0.59 | 47.29 ▼14.40 |
Posts /wp-admin/edit.php | 3.98 ▲0.63 | 48.07 ▲4.43 |
Add New Post /wp-admin/post-new.php | 6.53 ▲0.65 | 86.24 ▼10.61 |
Media Library /wp-admin/upload.php | 3.86 ▲0.63 | 38.98 ▲6.43 |
Server storage [IO: ▲0.26MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for JSM Show Term Metadata
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲33 | 14.25 ▼0.03 | 1.84 ▲0.19 | 43.67 ▲1.26 |
Dashboard /wp-admin | 2,203 ▲26 | 5.67 ▼0.06 | 92.92 ▼3.57 | 42.31 ▼1.10 |
Posts /wp-admin/edit.php | 2,102 ▲2 | 2.02 ▲0.05 | 39.07 ▲3.54 | 37.25 ▲2.97 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.19 ▲0.10 | 736.71 ▲127.30 | 60.19 ▲6.42 |
Media Library /wp-admin/upload.php | 1,408 ▲8 | 4.41 ▲0.25 | 97.38 ▲3.66 | 42.89 ▼0.84 |
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
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
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 applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 12× PHP files output text when accessed directly (only 10 are shown):
- > /wp-content/plugins/jsm-show-term-meta/lib/com/util-wp.php
- > /wp-content/plugins/jsm-show-term-meta/lib/ext/compressor.php
- > /wp-content/plugins/jsm-show-term-meta/lib/com/util-metabox.php
- > /wp-content/plugins/jsm-show-term-meta/lib/term.php
- > /wp-content/plugins/jsm-show-term-meta/lib/script.php
- > /wp-content/plugins/jsm-show-term-meta/lib/config.php
- > /wp-content/plugins/jsm-show-term-meta/lib/com/country-codes.php
- > /wp-content/plugins/jsm-show-term-meta/gettext/gettext-lib-com.php
- > /wp-content/plugins/jsm-show-term-meta/jsm-show-term-meta.php
- > /wp-content/plugins/jsm-show-term-meta/lib/compat.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Screenshots: Screenshot #1 (The "Term Metadata" metabox added to admin term editing pages.) image not found
jsm-show-term-meta/jsm-show-term-meta.php Passed 13 tests
The main PHP file in "JSM Show Term Metadata" ver. 3.8.0 adds more information about the plugin and also serves as the entry point for this plugin
106 characters long description:
Show term metadata in a metabox when editing terms - a great tool for debugging issues with term metadata.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin6,067 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 2,261 | 1,032 | 5,608 |
JavaScript | 2 | 242 | 115 | 398 |
PO File | 1 | 10 | 10 | 35 |
Markdown | 1 | 11 | 0 | 26 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.64 |
Average class complexity | 87.90 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 628.00 |
Average method complexity | 4.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 282 | |
▷ Static methods | 260 | 92.20% |
▷ Public methods | 272 | 96.45% |
▷ Protected methods | 7 | 2.48% |
▷ Private methods | 3 | 1.06% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin