90% ad-auris

Code Review | Ad Auris - Text-to-Speech

WordPress plugin Ad Auris - Text-to-Speech scored90%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: 6.3.1
  • 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 /495 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▼0.30MB] [CPU: ▼18.70ms] Passed 4 tests

An overview of server-side resources used by Ad Auris - Text-to-Speech
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.45 ▼0.0133.07 ▼8.74
Dashboard /wp-admin3.34 ▲0.0446.19 ▼1.63
Posts /wp-admin/edit.php3.39 ▲0.0348.27 ▼2.15
Add New Post /wp-admin/post-new.php4.63 ▼1.2641.97 ▼57.41
Media Library /wp-admin/upload.php3.26 ▲0.0333.16 ▼6.50

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

How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
widget_recent-posts
db_upgraded
theysaidso_admin_options
can_compress_scripts
widget_recent-comments

Browser metrics Passed 4 tests

Checking browser requirements for Ad Auris - Text-to-Speech
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,839 ▲6813.67 ▼0.691.80 ▼0.3641.95 ▼0.46
Dashboard /wp-admin2,215 ▲274.83 ▼1.07109.54 ▲0.0639.91 ▼6.86
Posts /wp-admin/edit.php2,098 ▲92.04 ▲0.0338.38 ▼4.5034.69 ▼3.79
Add New Post /wp-admin/post-new.php1,523 ▼1417.52 ▼0.69627.58 ▲27.5476.69 ▲27.95
Media Library /wp-admin/upload.php1,403 ▲154.31 ▲0.0996.05 ▼0.7244.52 ▲0.60

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
It is recommended to fix the following
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • can_compress_scripts
    • db_upgraded
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_theysaidso_widget

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 everything seems fine, this is not 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
Looking good! No server-side errors or output on direct access of PHP files

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 97% from 29 tests

readme.txt 94% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
  • Screenshots: These screenshots do not have images: #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])
Please take inspiration from this readme.txt

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

The primary PHP file in "Ad Auris - Text-to-Speech" version 1.0.0 is used by WordPress to initiate all plugin functionality
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 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected145 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP19537139
CSS1226

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
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
PNG images were not found in this plugin