Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.31ms] Passed 4 tests
Server-side resources used by Image Taxonomify for LearnDash
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 41.58 ▼0.29 |
Dashboard /wp-admin | 3.31 ▲0.00 | 45.62 ▼2.83 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.67 ▼5.87 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 92.16 ▼8.23 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 38.65 ▲4.19 |
Image Taxonomify /wp-admin/admin.php?page=learndash-image-taxonomify | 3.00 | 23.73 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Image Taxonomify for LearnDash: 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.28 ▼1.27 | 1.61 ▼0.74 | 42.04 ▼4.95 |
Dashboard /wp-admin | 2,206 ▲21 | 5.86 ▲0.95 | 98.63 ▼12.57 | 40.29 ▼6.71 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 1.99 ▼0.05 | 39.78 ▼1.60 | 33.96 ▼0.89 |
Add New Post /wp-admin/post-new.php | 1,533 ▲19 | 23.30 ▲5.78 | 631.54 ▼67.05 | 47.44 ▼5.29 |
Media Library /wp-admin/upload.php | 1,385 ▼0 | 4.31 ▼0.01 | 98.77 ▼6.30 | 41.53 ▼3.71 |
Image Taxonomify /wp-admin/admin.php?page=learndash-image-taxonomify | 28 | 0.44 | 0.10 | 3.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 50% 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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/image-taxonomify-for-learndash/includes/functions.php:152
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/image-taxonomify-for-learndash/includes/custom-taxonomy.php:34
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/image-taxonomify-for-learndash/admin/trit-settings.php:14
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
These are user-side errors you should fix
- > GET request to /wp-admin/admin.php?page=learndash-image-taxonomify
- > Network (severe)
wp-admin/admin.php?page=learndash-image-taxonomify - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Screenshots: A description for screenshot #3 is missing in image-taxonomify-for-learndash/assets to your readme.txt
image-taxonomify-for-learndash/learndash-image-taxonomify.php 69% from 13 tests
"Image Taxonomify for LearnDash" version 1.1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Domain Path: The domain path is invalid: folder "/languages" does not exist
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("image-taxonomify-for-learndash.php" instead of "learndash-image-taxonomify.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 158 characters long)
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
Good job! No executable or dangerous file extensions detected617 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 66 | 26 | 399 |
CSS | 2 | 26 | 2 | 218 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 15 | |
▷ Named functions | 15 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 8 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin