Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▲0.18ms] Passed 4 tests
Analyzing server-side resources used by Media Content Taxonomy
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 38.25 ▼3.48 |
Dashboard /wp-admin | 3.34 ▲0.04 | 58.05 ▲3.99 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 51.55 ▲4.95 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 98.92 ▼1.86 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 37.09 ▲2.09 |
Content Category /wp-admin/edit-tags.php?taxonomy=media_content_category&post_type=attachment | 3.39 | 39.36 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Media Content Taxonomy
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,843 ▲82 | 14.58 ▲0.23 | 1.67 ▲0.04 | 42.21 ▲2.76 |
Dashboard /wp-admin | 2,252 ▲78 | 6.01 ▲0.44 | 121.15 ▲23.71 | 37.53 ▼0.62 |
Posts /wp-admin/edit.php | 2,177 ▲80 | 3.12 ▲1.12 | 54.69 ▲15.64 | 34.98 ▼2.44 |
Add New Post /wp-admin/post-new.php | 1,538 ▲12 | 23.26 ▲0.29 | 655.94 ▼1.45 | 38.35 ▼15.44 |
Media Library /wp-admin/upload.php | 1,418 ▲18 | 4.16 ▼0.02 | 81.38 ▼24.77 | 45.06 ▼0.18 |
Content Category /wp-admin/edit-tags.php?taxonomy=media_content_category&post_type=attachment | 1,351 | 2.97 | 41.46 | 30.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
The following issues need your attention
- 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/media-content-taxonomy/media-content-taxonomy-filter.php:14
- > 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)
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: custom taxonomy, media content, media content taxonomy filter, media content filter, taxonomy filter
media-content-taxonomy/media-content-taxonomy-filter.php 85% from 13 tests
The entry point to "Media Content Taxonomy" version 0.0.3 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("media-content-taxonomy.php" instead of "media-content-taxonomy-filter.php")
- Description: Keep the plugin description shorter than 140 characters (currently 142 characters long)
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 plugin166 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 20 | 19 | 105 |
JavaScript | 1 | 1 | 11 | 35 |
Markdown | 1 | 21 | 0 | 26 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 1.82 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.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 files were detected