83% audioburst-player-widget

Code Review | Audioburst Podcast Highlights Player

WordPress plugin Audioburst Podcast Highlights Player scored83%from 54 tests.

About plugin

  • Plugin page: audioburst-player...
  • Plugin version: 1.22.1
  • PHP compatiblity: 5.3.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.4.1-5.6.1
  • WordPress version: 6.3.1
  • First release: May 6, 2020
  • Latest release: Mar 9, 2021
  • Number of updates: 48
  • Update frequency: every 6.4 days
  • Top authors: galklein (100%)

Code review

54 tests

User reviews

1 review

Install metrics

100+ active /2,580 total downloads

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: ▼9.67ms] Passed 4 tests

Server-side resources used by Audioburst Podcast Highlights Player
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.57 ▲0.1043.98 ▲3.18
Dashboard /wp-admin3.40 ▲0.0551.68 ▼21.49
Posts /wp-admin/edit.php3.45 ▲0.0951.44 ▲1.39
Add New Post /wp-admin/post-new.php5.98 ▲0.0998.24 ▼15.68
Media Library /wp-admin/upload.php3.32 ▲0.0932.01 ▼2.90

Server storage [IO: ▲0.28MB] [DB: ▲0.00MB] Passed 3 tests

Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options
theysaidso_admin_options
db_upgraded
widget_recent-posts
widget_audioburst_player_widget
widget_theysaidso_widget
can_compress_scripts
widget_recent-comments

Browser metrics Passed 4 tests

An overview of browser requirements for Audioburst Podcast Highlights Player
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲4314.32 ▼0.241.70 ▲0.2244.19 ▲2.47
Dashboard /wp-admin2,189 ▲125.61 ▼0.01100.92 ▲11.3143.78 ▲2.48
Posts /wp-admin/edit.php2,100 ▼01.99 ▲0.0435.71 ▼3.9931.89 ▼5.32
Add New Post /wp-admin/post-new.php6,205 ▲4,67019.69 ▲1.54982.18 ▲359.3538.10 ▼29.95
Media Library /wp-admin/upload.php1,403 ▲34.22 ▼0.01100.11 ▼2.3042.80 ▼2.54

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
  • The uninstall procedure has failed, leaving 7 options in the database
    • db_upgraded
    • widget_recent-posts
    • widget_audioburst_player_widget
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-comments
    • theysaidso_admin_options

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected

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
Please fix the following items
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/audioburst-player-widget/audioburst-widget.php:17

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
  • Contributors: Plugin contributors not specified
  • Screenshots: Add descriptions for screenshots #1, #2, #3 in audioburst-player-widget/assets to your readme.txt
You can look at the official readme.txt

audioburst-player-widget/audioburst-widget.php 92% from 13 tests

The main PHP script in "Audioburst Podcast Highlights Player" version 1.22.1 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("audioburst-player-widget.php" instead of "audioburst-widget.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
There were no executable files found in this plugin1,847 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript3163701,269
PHP16320575
CSS1003

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.40
Average class complexity73.00
▷ Minimum class complexity73.00
▷ Maximum class complexity73.00
Average method complexity2.67
▷ Minimum method complexity1.00
▷ Maximum method complexity10.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods13
▷ Static methods646.15%
▷ Public methods13100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions4
▷ Named functions00.00%
▷ Anonymous functions4100.00%
Constants2
▷ Global constants00.00%
▷ Class constants2100.00%
▷ Public constants2100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected