Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼149.27ms] Passed 4 tests
Server-side resources used by Bulk Add Terms
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.93 ▲0.09 | 35.40 ▲0.95 |
Dashboard /wp-admin | 3.16 ▲0.11 | 50.40 ▲6.76 |
Posts /wp-admin/edit.php | 3.25 ▲0.14 | 47.82 ▼1.91 |
Add New Post /wp-admin/post-new.php | 5.52 ▲0.09 | 94.89 ▼597.10 |
Media Library /wp-admin/upload.php | 3.11 ▲0.11 | 36.37 ▲0.98 |
Bulk Add Terms /wp-admin/options-general.php?page=bulk_add_terms_settings | 3.08 | 35.92 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 10 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Bulk Add Terms
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,733 ▲161 | 15.85 ▲0.12 | 9.15 ▼0.77 | 50.68 ▼0.82 |
Dashboard /wp-admin | 3,024 ▲90 | 5.93 ▼0.06 | 148.22 ▼5.92 | 107.65 ▼9.95 |
Posts /wp-admin/edit.php | 2,796 ▲57 | 2.73 ▲0.01 | 66.90 ▲0.33 | 89.77 ▼2.01 |
Add New Post /wp-admin/post-new.php | 1,531 ▼50 | 18.80 ▼0.09 | 401.26 ▼12.41 | 108.42 ▼3.11 |
Media Library /wp-admin/upload.php | 1,787 ▼20 | 5.01 ▼0.01 | 166.69 ▲0.38 | 121.74 ▲2.49 |
Bulk Add Terms /wp-admin/options-general.php?page=bulk_add_terms_settings | 1,128 | 2.10 | 76.08 | 96.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
This plugin's uninstaller ran successfully
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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 return non-empty strings:
- > /wp-content/plugins/bulk-add-terms/bulk-add-terms.php
- > /wp-content/plugins/bulk-add-terms/includes/options.php
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bulk-add-terms/includes/class-ts-bulk-add-term-options.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Screenshots: A description for screenshot #5 is missing in bulk-add-terms/assets to your readme.txt
bulk-add-terms/bulk-add-terms.php 92% from 13 tests
"Bulk Add Terms" version 2.0.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected710 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 193 | 17 | 521 |
JavaScript | 1 | 51 | 1 | 130 |
CSS | 1 | 2 | 0 | 59 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 21.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 45.00 |
Average method complexity | 3.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 21 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 21 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin