Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼6.61ms] Passed 4 tests
Server-side resources used by WP Audio Verse
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 41.23 ▼4.74 |
Dashboard /wp-admin | 3.40 ▲0.09 | 45.23 ▼5.29 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 45.58 ▼4.75 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 84.09 ▼11.65 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 34.40 ▲0.08 |
Verses /wp-admin/edit.php?post_type=verse | 3.36 | 34.57 |
Add New /wp-admin/post-new.php?post_type=verse | 3.43 | 48.28 |
Server storage [IO: ▲0.45MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Audio Verse
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,894 ▲148 | 13.27 ▼1.07 | 11.24 ▲9.36 | 43.59 ▼1.33 |
Dashboard /wp-admin | 2,233 ▲45 | 5.86 ▲0.98 | 107.10 ▼9.30 | 39.52 ▼5.10 |
Posts /wp-admin/edit.php | 2,116 ▲27 | 2.00 ▲0.01 | 41.80 ▲1.00 | 36.17 ▼0.05 |
Add New Post /wp-admin/post-new.php | 1,556 ▲23 | 23.20 ▼0.38 | 689.83 ▲18.63 | 54.42 ▲1.71 |
Media Library /wp-admin/upload.php | 1,415 ▲30 | 4.24 ▲0.01 | 98.07 ▼3.97 | 43.39 ▼0.01 |
Verses /wp-admin/edit.php?post_type=verse | 1,089 | 1.93 | 33.28 | 27.80 |
Add New /wp-admin/post-new.php?post_type=verse | 2,331 | 7.67 | 169.23 | 73.41 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- 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
Even though everything seems fine, this is not 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
Almost there! Just fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/wp-audio-verse/view/single-verse.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Tags: Please reduce the number of tags, currently 16 tag instead of maximum 10
- Contributors: Plugin contributors not specified
wp-audio-verse/verse-with-audio.php 77% from 13 tests
The entry point to "WP Audio Verse" version 2.0.0 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("wp-audio-verse.php" instead of "verse-with-audio.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Description: Please keep the plugin description shorter than 140 characters (currently 218 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
Good job! No executable or dangerous file extensions detected1,704 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 366 | 120 | 1,297 |
PHP | 6 | 144 | 125 | 355 |
JavaScript | 3 | 4 | 4 | 28 |
SVG | 1 | 0 | 0 | 24 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 12.67 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 2.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 17 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 17 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 4 | 100.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
2 PNG files occupy 0.23MB with 0.15MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 138.46KB | 47.38KB | ▼ 65.78% |
screenshot-2.png | 98.12KB | 33.11KB | ▼ 66.26% |