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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼9.08ms] Passed 4 tests
This is a short check of server-side resources used by Tag to AmazonMP3 Shortcode
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 39.54 ▼0.73 |
Dashboard /wp-admin | 3.31 ▲0.01 | 48.34 ▼7.51 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 46.14 ▼2.69 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 86.30 ▼19.21 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 31.67 ▼6.90 |
Tag to AmazonMP3 /wp-admin/options-general.php?page=amaMP3_uk | 3.20 | 31.73 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Tag to AmazonMP3 Shortcode
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲58 | 13.24 ▼1.16 | 1.91 ▲0.15 | 44.74 ▲3.35 |
Dashboard /wp-admin | 2,219 ▲16 | 5.83 ▼0.02 | 101.88 ▼6.45 | 43.11 ▼1.24 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.99 ▼0.07 | 35.99 ▼0.91 | 36.30 ▼3.69 |
Add New Post /wp-admin/post-new.php | 1,553 ▲27 | 23.48 ▲5.86 | 666.77 ▼5.16 | 56.41 ▼11.51 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.30 ▲0.06 | 96.49 ▼14.99 | 44.37 ▼1.71 |
Tag to AmazonMP3 /wp-admin/options-general.php?page=amaMP3_uk | 877 | 2.02 | 23.86 | 40.04 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for 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 applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tag-to-amazon-mp3/tagtoamamp3.php:30
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Screenshots: Screenshot #1 (Player displayed in sidebar.) image required
- Contributors: Contributors not specified
tag-to-amazon-mp3/tagtoamamp3.php 92% from 13 tests
The main PHP file in "Tag to AmazonMP3 Shortcode" ver. 1.1 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("tag-to-amazon-mp3.php" instead of "tagtoamamp3.php")
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
Everything looks great! No dangerous files found in this plugin82 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 47 | 24 | 82 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.10 |
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 | 4 | |
▷ Named functions | 4 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin