Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼143.52ms] Passed 4 tests
An overview of server-side resources used by Woo Track list and Sample Player
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▲0.14 | 30.53 ▲10.08 |
Dashboard /wp-admin | 3.07 ▲0.02 | 46.83 ▲0.42 |
Posts /wp-admin/edit.php | 3.12 ▲0.01 | 44.69 ▼10.07 |
Add New Post /wp-admin/post-new.php | 5.43 ▼0.00 | 86.42 ▼565.78 |
Media Library /wp-admin/upload.php | 3.02 ▲0.01 | 30.05 ▲1.35 |
Server storage [IO: ▲0.01MB] [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: 4 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Woo Track list and Sample Player: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,719 ▲82 | 16.13 ▲0.55 | 7.76 ▼1.77 | 48.11 ▼9.72 |
Dashboard /wp-admin | 2,973 ▲42 | 5.90 ▼0.14 | 128.42 ▼14.33 | 110.71 ▼6.73 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.68 ▼0.01 | 64.22 ▼3.44 | 93.28 ▼2.74 |
Add New Post /wp-admin/post-new.php | 1,683 ▲11 | 18.84 ▼0.26 | 397.30 ▼10.86 | 112.98 ▼5.69 |
Media Library /wp-admin/upload.php | 1,810 ▲3 | 5.01 ▼0.03 | 149.41 ▼0.52 | 115.70 ▼10.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Looking good! No server-side errors or output on direct access of PHP files
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 issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% 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 need to be fixed:
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
woo-track-list-and-sample-player/woo-tlasp.php 85% from 13 tests
The entry point to "Woo Track list and Sample Player" version 1.0.2 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Description: Please keep the plugin description shorter than 140 characters (currently 162 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("woo-track-list-and-sample-player.php" instead of "woo-tlasp.php")
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
Everything looks great! No dangerous files found in this plugin120 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 23 | 48 | 76 |
CSS | 1 | 3 | 0 | 44 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
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 | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin