90% bradmax-player

Code Review | Bradmax Player

WordPress plugin Bradmax Player scored90%from 54 tests.

About plugin

  • Plugin page: bradmax-player
  • Plugin version: 1.1.27
  • PHP version: 7.4.16
  • WordPress compatibility: 4.2-6.3
  • WordPress version: 6.3.1
  • First release: Jan 5, 2018
  • Latest release: Oct 27, 2023
  • Number of updates: 44
  • Update frequency: every 48.2 days
  • Top authors: kostalski (100%)

Code review

54 tests

User reviews

11 reviews

Install metrics

2,000+ active /45,306 total downloads


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
PageMemory (MB)CPU Time (ms)
Home /3.55 ▲0.0839.83 ▲3.96
Dashboard /wp-admin3.39 ▲0.0947.32 ▲2.07
Posts /wp-admin/edit.php3.45 ▲0.0949.21 ▲4.53
Add New Post /wp-admin/post-new.php5.98 ▲0.0993.78 ▲10.16
Media Library /wp-admin/upload.php3.32 ▲0.0842.13 ▲7.40
Bradmax Player /wp-admin/options-general.php?page=bradmax-player-settings3.3031.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

Browser metrics Passed 4 tests

This is an overview of browser requirements for Bradmax Player
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,823 ▲3715.87 ▲1.3233.99 ▲32.0943.16 ▼0.08
Dashboard /wp-admin2,199 ▲245.53 ▼0.0587.01 ▼17.6940.42 ▲2.21
Posts /wp-admin/edit.php2,107 ▲72.03 ▲0.0339.54 ▲2.5835.87 ▼0.35
Add New Post /wp-admin/post-new.php1,529 ▲321.68 ▼1.23718.00 ▲8.1162.35 ▲1.53
Media Library /wp-admin/upload.php1,404 ▲44.13 ▼0.08120.68 ▲13.6750.79 ▲3.74
Bradmax Player /wp-admin/options-general.php?page=bradmax-player-settings9391.9826.5634.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


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
The official readme.txt might help

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:
LanguageFilesBlank linesComment linesLines of code

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 code0.56
Average class complexity94.00
▷ Minimum class complexity94.00
▷ Maximum class complexity94.00
Average method complexity7.64
▷ Minimum method complexity1.00
▷ Maximum method complexity43.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
▷ Static methods14100.00%
▷ Public methods750.00%
▷ Protected methods00.00%
▷ Private methods750.00%
▷ Named functions00.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants13100.00%
▷ Public constants13100.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