Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼7.52ms] Passed 4 tests
Server-side resources used by WP Term Family
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 35.38 ▼1.13 |
Dashboard /wp-admin | 3.33 ▲0.03 | 42.76 ▼1.98 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 41.55 ▼2.68 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 76.86 ▼19.98 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 32.21 ▼5.45 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 9 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
wpdb_term_family_version |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for WP Term Family
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲53 | 14.35 ▼0.00 | 1.88 ▲0.26 | 39.55 ▼1.43 |
Dashboard /wp-admin | 2,198 ▲18 | 5.58 ▼0.07 | 85.60 ▼1.06 | 37.97 ▼3.06 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 1.97 ▼0.08 | 36.42 ▼1.94 | 32.47 ▲2.71 |
Add New Post /wp-admin/post-new.php | 1,526 ▼11 | 23.14 ▲4.88 | 659.41 ▲24.33 | 55.43 ▼11.28 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.20 ▲0.01 | 97.00 ▼18.05 | 44.29 ▼1.10 |
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
You still need to fix the following
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_recent-comments
- wpdb_term_family_version
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
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 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Please add descriptions for these screenshots #2, #3, #4 in wp-term-families/assets to your readme.txt
wp-term-families/wp-term-families.php Passed 13 tests
The entry point to "WP Term Family" version 0.2.0 is a PHP file that has certain tags in its header comment area
27 characters long description:
Families for taxonomy terms
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
Success! There were no dangerous files found in this plugin415 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 176 | 442 | 371 |
Markdown | 1 | 19 | 0 | 33 |
JavaScript | 1 | 2 | 0 | 8 |
CSS | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 19.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 2.09 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 1 | 50.00% |
Methods | 33 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 26 | 78.79% |
▷ Protected methods | 5 | 15.15% |
▷ Private methods | 2 | 6.06% |
Functions | 5 | |
▷ Named functions | 5 | 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
PNG images were not found in this plugin