99% audio-articles

Code Review | Audio Articles

WordPress plugin Audio Articles scored 99% from 54 tests.

About plugin

  • Plugin page: audio-articles
  • Plugin version: 1.2.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7.0-5.9
  • WordPress version: 5.9.2
  • First release: Mar 7, 2022
  • Latest release: Mar 7, 2022
  • Number of updates: 2
  • Update frequency: every 3.0 days
  • Top authors: globalaudioarticles (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 44 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.06MB] [CPU: ▼316.13ms] Passed 4 tests

An overview of server-side resources used by Audio Articles
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.65 ▲0.1353.37 ▼9.30
Dashboard /wp-admin3.50 ▲0.0933.84 ▼0.87
Posts /wp-admin/edit.php3.72 ▲0.0840.92 ▼2.90
Add New Post /wp-admin/post-new.php6.96 ▼0.0193.02 ▼1,250.11
Media Library /wp-admin/upload.php3.37 ▲0.0826.03 ▼2.20

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

How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 9 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

A check of browser resources used by Audio Articles
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,797 ▲4315.39 ▲0.095.82 ▼0.202.03 ▼0.67
Dashboard /wp-admin2,922 ▲656.12 ▼0.04129.19 ▼1.35232.24 ▲63.33
Posts /wp-admin/edit.php2,726 ▲383.13 ▼0.1165.18 ▼2.78144.63 ▼3.28
Add New Post /wp-admin/post-new.php1,962 ▲27220.99 ▼0.18415.35 ▼26.35219.89 ▲28.75
Media Library /wp-admin/upload.php1,725 ▲315.51 ▲0.07139.16 ▼48.01260.78 ▲76.59

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Uninstall script ran successfully

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
  • Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
  • Donate link: Please fix this invalid url: ""
You can look at the official readme.txt

audio-articles/audio-articles.php Passed 13 tests

"Audio Articles" version 1.2.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
125 characters long description:
Audio Articles™ utilize publisher text and converts it into playable audio for easy and convenient on page consumption.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected442 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP411885435
SVG1107

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.50
Average class complexity34.00
▷ Minimum class complexity32.00
▷ Maximum class complexity36.00
Average method complexity3.87
▷ Minimum method complexity1.00
▷ Maximum method complexity13.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods23
▷ Static methods00.00%
▷ Public methods23100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants6
▷ Global constants6100.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
There are no PNG files in this plugin