Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.27MB] [CPU: ▲1.44ms] Passed 4 tests
A check of server-side resources used by Attachment Taxonomies
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.23 | 41.98 ▲2.57 |
Dashboard /wp-admin | 3.58 ▲0.28 | 45.79 ▼0.32 |
Posts /wp-admin/edit.php | 3.63 ▲0.28 | 48.88 ▲2.33 |
Add New Post /wp-admin/post-new.php | 6.18 ▲0.29 | 94.49 ▲1.19 |
Media Library /wp-admin/upload.php | 3.52 ▲0.29 | 37.80 ▲4.99 |
Tags /wp-admin/edit-tags.php?taxonomy=attachment_tag&post_type=attachment | 3.44 | 34.07 |
Categories /wp-admin/edit-tags.php?taxonomy=attachment_category&post_type=attachment | 3.44 | 36.39 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Attachment Taxonomies
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,798 ▲36 | 14.70 ▲0.46 | 1.71 ▼0.04 | 43.29 ▼1.36 |
Dashboard /wp-admin | 2,203 ▲26 | 5.63 ▲0.05 | 93.05 ▼7.94 | 42.79 ▼1.30 |
Posts /wp-admin/edit.php | 2,108 ▲8 | 1.96 ▼0.05 | 39.29 ▲2.90 | 37.18 ▲2.89 |
Add New Post /wp-admin/post-new.php | 1,553 ▲27 | 25.29 ▲2.08 | 587.66 ▼162.46 | 71.39 ▲12.53 |
Media Library /wp-admin/upload.php | 1,446 ▲43 | 4.33 ▲0.05 | 102.18 ▲4.99 | 44.01 ▲2.18 |
Tags /wp-admin/edit-tags.php?taxonomy=attachment_tag&post_type=attachment | 1,258 | 2.12 | 30.59 | 32.41 |
Categories /wp-admin/edit-tags.php?taxonomy=attachment_category&post_type=attachment | 1,282 | 2.12 | 27.07 | 30.03 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: media, attachment, taxonomy, tags, categories
attachment-taxonomies/attachment-taxonomies.php Passed 13 tests
Analyzing the main PHP file in "Attachment Taxonomies" version 1.2.1
105 characters long description:
This plugin adds categories and tags to the WordPress media library - lightweight and developer-friendly.
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
Success! There were no dangerous files found in this plugin1,113 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 237 | 1,013 | 989 |
JavaScript | 3 | 12 | 28 | 124 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 10.69 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 34.00 |
Average method complexity | 2.64 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 1 | 7.69% |
▷ Concrete classes | 12 | 92.31% |
▷ Final classes | 12 | 100.00% |
Methods | 71 | |
▷ Static methods | 6 | 8.45% |
▷ Public methods | 55 | 77.46% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 16 | 22.54% |
Functions | 7 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 7 | 100.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected