90% aathichoodi

Code Review | Aathichoodi

WordPress plugin Aathichoodi scored 90% from 54 tests.

About plugin

  • Plugin page: aathichoodi
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-5.3.2
  • WordPress version: 5.9.2
  • First release: Mar 8, 2017
  • Latest release: Feb 21, 2020
  • Number of updates: 5
  • Update frequency: every 214.6 days
  • Top authors: gsuryalss (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 568 total downloads

Benchmarks

Plugin footprint 83% from 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 gracefully, with no errors

Server metrics [RAM: ▼0.01MB] [CPU: ▼293.46ms] Passed 4 tests

An overview of server-side resources used by Aathichoodi
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.53 ▲0.0255.04 ▲3.20
Dashboard /wp-admin3.42 ▲0.0133.24 ▼1.78
Posts /wp-admin/edit.php3.65 ▲0.0136.51 ▼0.10
Add New Post /wp-admin/post-new.php6.89 ▼0.0890.41 ▼1,171.49
Media Library /wp-admin/upload.php3.30 ▲0.0126.24 ▼0.45

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

Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 1 new option
New WordPress options
widget_aathichoodi_randomwidget

Browser metrics Passed 4 tests

Aathichoodi: an overview of browser usage
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,795 ▲5316.01 ▲0.237.31 ▲1.503.20 ▲0.98
Dashboard /wp-admin2,895 ▲376.14 ▼0.07117.51 ▼19.10153.67 ▼8.78
Posts /wp-admin/edit.php2,657 ▼283.24 ▲0.0164.77 ▼0.08137.77 ▼3.73
Add New Post /wp-admin/post-new.php1,711 ▼021.07 ▼0.31450.78 ▲11.44161.10 ▲8.71
Media Library /wp-admin/upload.php1,698 ▼05.52 ▲0.01143.00 ▲5.62185.72 ▼2.49

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
  • Zombie WordPress options were found after uninstall: 1 option
    • widget_aathichoodi_randomwidget

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested

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
Everything seems fine, however this is by no means an exhaustive test

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected

Optimizations

Plugin configuration 97% 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: Too many tags (21 tag instead of maximum 10); only the first 5 tags are used in your directory listing
The official readme.txt might help

aathichoodi/aathichoodi.php Passed 13 tests

"Aathichoodi" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
52 characters long description:
Displays random Aathichoodi quotes over the website.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin631 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PO File2222222478
PHP12147153

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.12
Average class complexity3.00
▷ Minimum class complexity3.00
▷ Maximum class complexity3.00
Average method complexity1.50
▷ Minimum method complexity1.00
▷ Maximum method complexity3.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods4
▷ Static methods00.00%
▷ Public methods4100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin