100% ad-auris

Code Review | Ad Auris - Text-to-Speech

WordPress plugin Ad Auris - Text-to-Speech scored 100% from 54 tests.

About plugin

  • Plugin page: ad-auris
  • Plugin version: 1.0.0
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.9-5.7.2
  • WordPress version: 5.9.2
  • First release: Jun 14, 2021
  • Latest release: Jun 14, 2021
  • Number of updates: 3
  • Update frequency: every 2.3 days
  • Top authors: varun005 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 198 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.31MB] [CPU: ▼303.64ms] Passed 4 tests

Server-side resources used by Ad Auris - Text-to-Speech
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.49 ▼0.0250.80 ▼8.52
Dashboard /wp-admin3.45 ▲0.0441.46 ▲2.66
Posts /wp-admin/edit.php3.68 ▲0.0442.78 ▲0.28
Add New Post /wp-admin/post-new.php5.67 ▼1.3057.99 ▼1,204.49
Media Library /wp-admin/upload.php3.33 ▲0.0326.40 ▼1.84

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

Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

Ad Auris - Text-to-Speech: an overview of browser usage
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,780 ▲3615.98 ▲0.286.92 ▲0.222.13 ▼0.58
Dashboard /wp-admin2,904 ▲506.09 ▼0.12120.19 ▼19.78160.16 ▼2.57
Posts /wp-admin/edit.php2,703 ▲153.24 ▼0.0064.46 ▲0.48140.65 ▲0.12
Add New Post /wp-admin/post-new.php1,671 ▼1916.33 ▼4.89403.64 ▼44.89152.38 ▼4.45
Media Library /wp-admin/upload.php1,716 ▲185.54 ▲0.06153.77 ▲15.07185.98 ▼1.31

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Uninstall script ran successfully

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested

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
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
  • Screenshots: These screenshots have no corresponding images in /assets: #1 ([https://storage.googleapis.com/ad-auris-mvp-bucket/wordpress-plugin/ad-auris-splashpage.png Ad Auris Home Page]), #2 ([https://storage.googleapis.com/ad-auris-mvp-bucket/wordpress-plugin/ad-auris-rss-page.png Ad Auris RSS settings Page]), #3 ([https://storage.googleapis.com/ad-auris-mvp-bucket/wordpress-plugin/yaledailyupdated.png Yale Daily News - Current User])
You can look at the official readme.txt

ad-auris/ad-auris.php Passed 13 tests

The main file in "Ad Auris - Text-to-Speech" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
123 characters long description:
A Wordpress plugin helper for Ad Auris's Auto Narration feature and for inserting an embed code into your article template.

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
Success! There were no dangerous files found in this plugin145 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP19537139
CSS1226

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.65
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%
Functions12
▷ Named functions12100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected