Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.52MB] [CPU: ▲3.03ms] Passed 4 tests
This is a short check of server-side resources used by Taxonomy Terms Grid
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.99 ▲0.53 | 45.10 ▲2.74 |
Dashboard /wp-admin | 3.85 ▲0.55 | 54.94 ▲2.97 |
Posts /wp-admin/edit.php | 3.90 ▲0.55 | 56.34 ▲13.18 |
Add New Post /wp-admin/post-new.php | 6.39 ▲0.50 | 102.14 ▲1.00 |
Media Library /wp-admin/upload.php | 3.71 ▲0.48 | 43.09 ▲5.42 |
Install Plugins /wp-admin/plugins.php?page=tgmpa-install-plugins | 3.78 | 34.81 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Taxonomy Terms Grid: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,931 ▲174 | 13.66 ▼1.14 | 5.74 ▲3.72 | 41.35 ▼6.30 |
Dashboard /wp-admin | 2,251 ▲60 | 5.84 ▲0.96 | 98.63 ▼4.57 | 42.62 ▲5.15 |
Posts /wp-admin/edit.php | 2,148 ▲59 | 2.05 ▲0.03 | 41.12 ▲0.47 | 40.73 ▲6.17 |
Add New Post /wp-admin/post-new.php | 1,554 ▲17 | 21.13 ▲3.03 | 588.55 ▼31.66 | 47.31 ▼6.29 |
Media Library /wp-admin/upload.php | 1,438 ▲53 | 4.25 ▲0.08 | 93.96 ▼2.91 | 47.05 ▲5.45 |
Install Plugins /wp-admin/plugins.php?page=tgmpa-install-plugins | 979 | 2.09 | 25.49 | 29.62 |
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
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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
The following issues need your attention
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/taxonomy-terms-grid/public/partials/taxonomy-terms-grid-public-display.php
- > /wp-content/plugins/taxonomy-terms-grid/admin/partials/taxonomy-terms-grid-admin-display.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function did_action() in wp-content/plugins/taxonomy-terms-grid/includes/class-tgm-plugin-activation.php:2109
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
4 plugin tags: post, taxonomy, term, grid
taxonomy-terms-grid/taxonomy-terms-grid.php Passed 13 tests
This is the main PHP file of "Taxonomy Terms Grid" version 1.0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
65 characters long description:
Create grid list from your taxonomy terms (e.g. post categories).
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
No dangerous file extensions were detected2,288 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 637 | 2,202 | 2,257 |
CSS | 2 | 0 | 9 | 25 |
JavaScript | 2 | 4 | 54 | 6 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 25.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 206.00 |
Average method complexity | 3.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 133 | |
▷ Static methods | 11 | 8.27% |
▷ Public methods | 105 | 78.95% |
▷ Protected methods | 23 | 17.29% |
▷ Private methods | 5 | 3.76% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 1 | 25.00% |
▷ Class constants | 3 | 75.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin