83% audiate-me

Code Review | Audioplace Me

WordPress plugin Audioplace Me scored83%from 54 tests.

About plugin

  • Plugin page: audiate-me
  • Plugin version: 1.2.8
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-5.9
  • WordPress version: 6.3.1
  • First release: Apr 26, 2020
  • Latest release: Jan 30, 2022
  • Number of updates: 46
  • Update frequency: every 14.1 days
  • Top authors: edge226 (100%)

Code review

54 tests

User reviews

13 reviews

Install metrics

70+ active /2,805 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
This plugin's installer ran successfully

Server metrics [RAM: ▼0.63MB] [CPU: ▼16.03ms] Passed 4 tests

This is a short check of server-side resources used by Audioplace Me
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.51 ▲0.0443.32 ▼0.49
Dashboard /wp-admin3.36 ▲0.0651.83 ▼0.12
Posts /wp-admin/edit.php3.47 ▲0.1252.00 ▲0.21
Add New Post /wp-admin/post-new.php3.21 ▼2.6837.03 ▼63.72
Media Library /wp-admin/upload.php3.28 ▲0.0535.73 ▲1.77
Audiate /wp-admin/options-general.php?page=audiate3.2533.42

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

Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
theysaidso_admin_options
widget_theysaidso_widget
db_upgraded
widget_recent-posts
can_compress_scripts

Browser metrics Passed 4 tests

This is an overview of browser requirements for Audioplace Me
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,793 ▲3214.38 ▲0.172.28 ▲0.6843.18 ▼0.27
Dashboard /wp-admin2,199 ▲225.66 ▼0.0292.59 ▲5.6443.33 ▼4.11
Posts /wp-admin/edit.php2,107 ▲41.99 ▼0.0140.29 ▲3.8037.44 ▲2.87
Add New Post /wp-admin/post-new.php6,229 ▲4,68419.09 ▼4.05899.86 ▲291.3980.44 ▲19.95
Media Library /wp-admin/upload.php1,401 ▲14.33 ▲0.1498.63 ▼0.4341.93 ▼2.44
Audiate /wp-admin/options-general.php?page=audiate8712.0527.6541.67

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
These items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-comments
    • theysaidso_admin_options
    • can_compress_scripts
    • db_upgraded
    • widget_recent-posts
    • widget_theysaidso_widget

Smoke tests 75% from 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 50% from 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/audiate-me/includes/audiate-admin.php:152

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
  • Contributors: Plugin contributors not specified
Please take inspiration from this readme.txt

audiate-me/audiate.php 85% from 13 tests

The main PHP script in "Audioplace Me" version 1.2.8 is automatically included on every request by WordPress
The following require your attention:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("audiate-me.php" instead of "audiate.php")
  • Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin286 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP46946286

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.56
Average class complexity22.50
▷ Minimum class complexity18.00
▷ Maximum class complexity27.00
Average method complexity3.53
▷ Minimum method complexity1.00
▷ Maximum method complexity13.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods17
▷ Static methods00.00%
▷ Public methods17100.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

All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin