90% aathichoodi

Code Review | Aathichoodi

WordPress plugin Aathichoodi scored90%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: 6.3.1
  • 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 /711 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully

Server metrics [RAM: ▲0.05MB] [CPU: ▼3.51ms] Passed 4 tests

A check of server-side resources used by Aathichoodi
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0543.03 ▼0.65
Dashboard /wp-admin3.36 ▲0.0549.58 ▼2.96
Posts /wp-admin/edit.php3.41 ▲0.0557.49 ▲1.47
Add New Post /wp-admin/post-new.php5.94 ▲0.0594.85 ▼11.88
Media Library /wp-admin/upload.php3.28 ▲0.0538.24 ▲1.90

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

Filesystem and database footprint
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options
widget_recent-posts
can_compress_scripts
widget_aathichoodi_randomwidget
widget_theysaidso_widget
widget_recent-comments
db_upgraded
theysaidso_admin_options

Browser metrics Passed 4 tests

Checking browser requirements for Aathichoodi
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.27 ▲0.031.71 ▼0.1247.22 ▲4.96
Dashboard /wp-admin2,195 ▲155.61 ▼0.0599.07 ▲5.3339.66 ▼0.85
Posts /wp-admin/edit.php2,103 ▼02.02 ▲0.0542.33 ▲0.3335.26 ▼4.19
Add New Post /wp-admin/post-new.php1,526 ▼1122.98 ▲4.81693.40 ▲7.2556.80 ▼26.73
Media Library /wp-admin/upload.php1,397 ▼04.21 ▼0.04100.80 ▼3.8946.13 ▼0.67

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
  • Zombie WordPress options detected upon uninstall: 7 options
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_aathichoodi_randomwidget
    • db_upgraded
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_recent-comments

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected

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
No browser errors were detected

Optimizations

Plugin configuration 97% 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 your attention:
  • Tags: You are using too many tags: 21 tag instead of maximum 10
You can take inspiration from this readme.txt

aathichoodi/aathichoodi.php Passed 13 tests

The primary PHP file in "Aathichoodi" version 1.0 is used by WordPress to initiate all plugin functionality
52 characters long description:
Displays random Aathichoodi quotes over the website.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
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

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
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

Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin