83% aeiou

Code Review | AEIOU

WordPress plugin AEIOU scored83%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: 6.3.1
  • 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,698 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully

Server metrics [RAM: ▲0.09MB] [CPU: ▼6.81ms] Passed 4 tests

An overview of server-side resources used by AEIOU
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.55 ▲0.0838.97 ▼5.49
Dashboard /wp-admin3.40 ▲0.0949.91 ▼1.33
Posts /wp-admin/edit.php3.45 ▲0.0948.08 ▲0.40
Add New Post /wp-admin/post-new.php5.98 ▲0.0985.25 ▼20.81
Media Library /wp-admin/upload.php3.32 ▲0.0937.32 ▲1.39
AEIOU /wp-admin/users.php?page=aeiou3.3732.98

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

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

Browser metrics Passed 4 tests

AEIOU: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,829 ▲8313.58 ▼0.972.23 ▼0.1240.91 ▼1.67
Dashboard /wp-admin2,213 ▲314.84 ▼0.9799.77 ▼16.3839.78 ▼5.95
Posts /wp-admin/edit.php2,093 ▲42.01 ▼0.0335.08 ▲0.0632.72 ▼5.52
Add New Post /wp-admin/post-new.php1,522 ▲822.94 ▲5.37658.64 ▼30.0952.03 ▲0.17
Media Library /wp-admin/upload.php1,395 ▲44.21 ▲0.0295.92 ▼2.2140.45 ▼6.02
AEIOU /wp-admin/users.php?page=aeiou1,1292.3137.7661.88

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
  • This plugin does not fully uninstall, leaving 6 options in the database
    • can_compress_scripts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-posts
    • db_upgraded
    • widget_recent-comments

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
Everything seems fine, however 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
Please fix the following items
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > 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 a smoke test targeting browser errors/issues
No browser issues were found

Optimizations

Plugin configuration 90% 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:
  • Tags: There are too many tags (13 tag instead of maximum 10)
You can take inspiration from this readme.txt

aeiou/index.php 85% from 13 tests

Analyzing the main PHP file in "AEIOU" version 0.7
The following require your attention:
  • Description: The description should be shorter than 140 characters (currently 259 characters long)
  • Main file name: The principal plugin file should be the same as the plugin slug ("aeiou.php" instead of "index.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin737 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP2143128548
PO File28492189

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
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

All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected