Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▲4.49ms] Passed 4 tests
An overview of server-side resources used by Bradmax Player
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.08 | 39.83 ▲3.96 |
Dashboard /wp-admin | 3.39 ▲0.09 | 47.32 ▲2.07 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 49.21 ▲4.53 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 93.78 ▲10.16 |
Media Library /wp-admin/upload.php | 3.32 ▲0.08 | 42.13 ▲7.40 |
Bradmax Player /wp-admin/options-general.php?page=bradmax-player-settings | 3.30 | 31.77 |
Server storage [IO: ▲1.92MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Bradmax Player
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲37 | 15.87 ▲1.32 | 33.99 ▲32.09 | 43.16 ▼0.08 |
Dashboard /wp-admin | 2,199 ▲24 | 5.53 ▼0.05 | 87.01 ▼17.69 | 40.42 ▲2.21 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 2.03 ▲0.03 | 39.54 ▲2.58 | 35.87 ▼0.35 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 21.68 ▼1.23 | 718.00 ▲8.11 | 62.35 ▲1.53 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.13 ▼0.08 | 120.68 ▲13.67 | 50.79 ▲3.74 |
Bradmax Player /wp-admin/options-general.php?page=bradmax-player-settings | 939 | 1.98 | 26.56 | 34.03 |
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
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
Smoke tests Passed 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 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 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
Please fix the following attributes:
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
bradmax-player/bradmax-player.php Passed 13 tests
The main PHP script in "Bradmax Player" version 1.1.27 is automatically included on every request by WordPress
49 characters long description:
Easily embed streaming video using Bradmax player
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
No dangerous file extensions were detected766 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 70 | 45 | 679 |
JavaScript | 1 | 5 | 33 | 76 |
CSS | 1 | 2 | 1 | 11 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.56 |
Average class complexity | 94.00 |
▷ Minimum class complexity | 94.00 |
▷ Maximum class complexity | 94.00 |
Average method complexity | 7.64 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 43.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 | 14 | |
▷ Static methods | 14 | 100.00% |
▷ Public methods | 7 | 50.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 50.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 13 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 13 | 100.00% |
▷ Public constants | 13 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected