Benchmarks
Plugin footprint 83% from 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.01MB] [CPU: ▼6.92ms] Passed 4 tests
Server-side resources used by ACF: Advanced Taxonomy Selector
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.02 | 33.96 ▼9.54 |
Dashboard /wp-admin | 3.32 ▲0.01 | 40.85 ▼8.39 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 45.84 ▼3.93 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 83.37 ▼5.81 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.75 ▼0.07 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
ACF: Advanced Taxonomy Selector: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.30 ▼0.99 | 1.55 ▼0.89 | 38.45 ▼10.34 |
Dashboard /wp-admin | 2,206 ▲18 | 5.90 ▲1.04 | 111.26 ▼3.74 | 43.90 ▼3.47 |
Posts /wp-admin/edit.php | 2,089 ▲3 | 1.97 ▼0.05 | 34.70 ▼0.81 | 29.84 ▼6.20 |
Add New Post /wp-admin/post-new.php | 1,514 ▼28 | 17.64 ▼0.62 | 674.35 ▲28.96 | 56.11 ▲1.72 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.17 ▼0.02 | 93.78 ▼1.88 | 41.10 ▼1.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP 50% 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 take a closer look at the following
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > 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-v4.php:23
- > 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
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Screenshots: Screenshot #3 (Selecting terms from multiple taxonomies) image required
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
It is important to fix the following:
- 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 | Executable files are considered dangerous and should not be included with any WordPress plugin
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
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin