90% embed-audiobakers

Code Review | Embed Audiobakers

WordPress plugin Embed Audiobakers scored90%from 54 tests.

About plugin

  • Plugin page: embed-audiobakers
  • Plugin version: 1.0.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-5.3.2
  • WordPress version: 6.3.1
  • First release: Mar 3, 2020
  • Latest release: Mar 3, 2020
  • Number of updates: 8
  • Update frequency: N/A
  • Top authors: arowolodaniel (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active /636 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.00MB] [CPU: ▼5.25ms] Passed 4 tests

Server-side resources used by Embed Audiobakers
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0140.18 ▼0.68
Dashboard /wp-admin3.32 ▼0.0351.33 ▼14.38
Posts /wp-admin/edit.php3.37 ▲0.0153.58 ▲7.51
Add New Post /wp-admin/post-new.php5.90 ▲0.0195.99 ▼7.47
Media Library /wp-admin/upload.php3.24 ▲0.0136.96 ▲1.54

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

Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
widget_recent-comments
can_compress_scripts
db_upgraded
widget_theysaidso_widget
theysaidso_admin_options

Browser metrics Passed 4 tests

A check of browser resources used by Embed Audiobakers
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.44 ▲0.301.86 ▲0.3446.20 ▲5.60
Dashboard /wp-admin2,198 ▲245.64 ▼0.0583.63 ▼14.0039.82 ▼2.73
Posts /wp-admin/edit.php2,100 ▼01.99 ▼0.0039.48 ▲2.1739.47 ▲0.21
Add New Post /wp-admin/post-new.php1,528 ▼723.09 ▲4.74616.52 ▼41.7056.62 ▼6.13
Media Library /wp-admin/upload.php1,403 ▲64.22 ▲0.0499.98 ▼3.1943.48 ▲1.47

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
  • This plugin does not fully uninstall, leaving 6 options in the database
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_recent-comments
    • widget_theysaidso_widget
    • can_compress_scripts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means 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
Everything seems fine, however this is by no means an exhaustive test

User-side errors Passed 1 test

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

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
4 plugin tags: iframe, music, audiobakers, embed

embed-audiobakers/embed-audiobakers.php Passed 13 tests

The principal PHP file in "Embed Audiobakers" v. 1.0.0 is loaded by WordPress automatically on each request
140 characters long description:
Audiobakers is the place for artists to effortlessly share and sell their music and for fans to discover and download free songs and albums.

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
Good job! No executable or dangerous file extensions detected59 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1101059

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.69
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions2
▷ Named functions2100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin