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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.01MB] [CPU: ▼302.54ms] Passed 4 tests
Server-side resources used by ACF: Advanced Taxonomy Selector
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.02 | 56.61 ▲5.85 |
Dashboard /wp-admin | 3.42 ▲0.02 | 32.84 ▼0.39 |
Posts /wp-admin/edit.php | 3.65 ▲0.02 | 35.31 ▼3.92 |
Add New Post /wp-admin/post-new.php | 6.89 ▼0.08 | 90.67 ▼1,205.70 |
Media Library /wp-admin/upload.php | 3.31 ▲0.01 | 23.11 ▼0.16 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 10 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for ACF: Advanced Taxonomy Selector
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,785 ▲31 | 16.23 ▲0.49 | 6.00 ▼0.92 | 2.33 ▼0.46 |
Dashboard /wp-admin | 2,895 ▲37 | 6.12 ▼0.05 | 127.96 ▼6.97 | 163.67 ▲1.76 |
Posts /wp-admin/edit.php | 2,691 ▼3 | 3.25 ▲0.00 | 63.49 ▼2.04 | 138.95 ▼5.70 |
Add New Post /wp-admin/post-new.php | 1,661 ▼0 | 16.10 ▲0.50 | 396.96 ▼12.80 | 160.85 ▲2.39 |
Media Library /wp-admin/upload.php | 1,698 ▲3 | 5.48 ▲0.01 | 148.42 ▲12.26 | 186.72 ▼1.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Uninstaller ran successfully
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 | 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
- 3× 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/acf-advanced-taxonomy-selector/acf-advanced_taxonomy_selector.php:18
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/acf-advanced-taxonomy-selector/acf-advanced_taxonomy_selector-v5.php:23
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/acf-advanced-taxonomy-selector/acf-advanced_taxonomy_selector-v4.php:23
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% 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: Please add an image for screenshot #3 (Selecting terms from multiple taxonomies)
acf-advanced-taxonomy-selector/acf-advanced_taxonomy_selector.php 92% from 13 tests
The main file in "ACF: Advanced Taxonomy Selector" v. 3.1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("acf-advanced-taxonomy-selector.php" instead of "acf-advanced_taxonomy_selector.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected481 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 129 | 305 | 428 |
PO File | 1 | 19 | 38 | 53 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 23.00 |
▷ Minimum class complexity | 23.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 4.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 14 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 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