93% aeiou

Code Review | AEIOU

WordPress plugin AEIOU scored 93% from 54 tests.

About plugin

  • Plugin page: aeiou
  • Plugin version: 0.7
  • PHP version: 7.4.16
  • WordPress compatibility: 3.4-3.5
  • WordPress version: 5.9.2
  • First release: Jan 6, 2013
  • Latest release: Jan 22, 2013
  • Number of updates: 9
  • Update frequency: every 1.8 days
  • Top authors: tosend.it (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

10+ active / 2,433 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully

Server metrics [RAM: ▲0.07MB] [CPU: ▼294.99ms] Passed 4 tests

An overview of server-side resources used by AEIOU
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.61 ▲0.0954.26 ▲3.19
Dashboard /wp-admin3.50 ▲0.0933.36 ▲1.35
Posts /wp-admin/edit.php3.73 ▲0.0937.80 ▲1.02
Add New Post /wp-admin/post-new.php6.97 ▼0.0092.78 ▼1,185.53
Media Library /wp-admin/upload.php3.38 ▲0.0928.35 ▲5.44
AEIOU /wp-admin/users.php?page=aeiou3.3524.07

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

Filesystem and database footprint
This plugin installed successfully
Filesystem: 8 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

This is an overview of browser requirements for AEIOU
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,768 ▲1315.88 ▼0.125.80 ▼0.032.42 ▲0.03
Dashboard /wp-admin2,894 ▲336.19 ▲0.02119.15 ▼26.42152.64 ▼16.55
Posts /wp-admin/edit.php2,696 ▲23.23 ▼0.0264.70 ▲0.31137.19 ▼2.31
Add New Post /wp-admin/post-new.php1,693 ▲3220.68 ▲5.01399.78 ▼33.85156.57 ▲0.55
Media Library /wp-admin/upload.php1,703 ▲55.45 ▼0.05149.52 ▲6.02189.39 ▲3.08
AEIOU /wp-admin/users.php?page=aeiou1,5323.4984.73164.26

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
This plugin's uninstaller ran successfully

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

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/aeiou/index.php:50

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
  • Tags: Please delete some tags, you are using 13 tag instead of maximum 10
The official readme.txt might help

aeiou/index.php 85% from 13 tests

This is the main PHP file of "AEIOU" version 0.7, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("aeiou.php" instead of "index.php")
  • Description: The description should be shorter than 140 characters (currently 259 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin737 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP2143128548
PO File28492189

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.38
Average class complexity48.50
▷ Minimum class complexity13.00
▷ Maximum class complexity84.00
Average method complexity6.94
▷ Minimum method complexity1.00
▷ Maximum method complexity34.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods16
▷ Static methods16.25%
▷ Public methods956.25%
▷ Protected methods00.00%
▷ Private methods743.75%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants00.00%
▷ Class constants2100.00%
▷ Public constants2100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin