83% audioigniter

Code Review | AudioIgniter Music Player

WordPress plugin AudioIgniter Music Player scored83%from 54 tests.

About plugin

  • Plugin page: audioigniter
  • Plugin version: 2.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.3
  • WordPress version: 6.3.1
  • First release: Aug 29, 2016
  • Latest release: Aug 31, 2023
  • Number of updates: 92
  • Update frequency: every 27.8 days
  • Top authors: anastis (73.91%)cssigniterteam (27.17%)

Code review

54 tests

User reviews

53 reviews

Install metrics

10,000+ active /178,443 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully

Server metrics [RAM: ▲0.27MB] [CPU: ▼0.15ms] Passed 4 tests

Analyzing server-side resources used by AudioIgniter Music Player
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.75 ▲0.2845.47 ▲0.70
Dashboard /wp-admin3.58 ▲0.2354.23 ▼11.74
Posts /wp-admin/edit.php3.69 ▲0.3456.02 ▲4.69
Add New Post /wp-admin/post-new.php6.16 ▲0.28106.57 ▲5.76
Media Library /wp-admin/upload.php3.50 ▲0.2746.75 ▲10.71
All Playlists /wp-admin/edit.php?post_type=ai_playlist3.5540.94
Add New Playlist /wp-admin/post-new.php?post_type=ai_playlist3.5651.73

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

Filesystem and database footprint
The plugin installed successfully
Filesystem: 68 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

AudioIgniter Music Player: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,881 ▲12013.82 ▼0.5320.64 ▲18.9437.11 ▼2.07
Dashboard /wp-admin2,219 ▲455.56 ▼0.0789.55 ▼8.2541.65 ▲1.97
Posts /wp-admin/edit.php2,130 ▲272.03 ▲0.0540.69 ▲4.0235.87 ▼0.43
Add New Post /wp-admin/post-new.php1,549 ▲2323.08 ▼0.01682.25 ▼4.9953.21 ▼12.32
Media Library /wp-admin/upload.php1,427 ▲274.16 ▼0.06108.21 ▲8.8046.94 ▲2.58
All Playlists /wp-admin/edit.php?post_type=ai_playlist1,0991.9830.6730.49
Add New Playlist /wp-admin/post-new.php?post_type=ai_playlist2,2023.6465.1697.91

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
  • This plugin does not fully uninstall, leaving 6 options in the database
    • theysaidso_admin_options
    • widget_recent-comments
    • db_upgraded
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-posts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected

SRP 50% from 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
Please fix the following items
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function status_header() in wp-content/plugins/audioigniter/uninstall.php:6

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found


Plugin configuration 86% from 29 tests

readme.txt 94% 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 12 tag instead of maximum 10
The official readme.txt might help

audioigniter/audioigniter.php 77% from 13 tests

The principal PHP file in "AudioIgniter Music Player" v. 2.0.0 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
  • Description: Keep the plugin description shorter than 140 characters (currently 150 characters long)
  • Domain Path: Prefix the domain path with a forward slash character ("/languages")
  • Domain Path: Note that the domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("languages")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin6,809 lines of code in 55 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.24
Average class complexity34.00
▷ Minimum class complexity7.00
▷ Maximum class complexity53.00
Average method complexity2.65
▷ Minimum method complexity1.00
▷ Maximum method complexity12.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes3100.00%
▷ Final classes00.00%
▷ Static methods1626.67%
▷ Public methods5185.00%
▷ Protected methods711.67%
▷ Private methods23.33%
▷ Named functions1100.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
assets/images/vc_icon.png1.81KB0.84KB▼ 53.73%