94% aajoda-testimonials

Code Review | Aajoda Testimonials

WordPress plugin Aajoda Testimonials scored 94% from 54 tests.

About plugin

  • Plugin page: aajoda-testimonials
  • Plugin version: 2.1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.6.0-5.5.3
  • WordPress version: 5.9.2
  • First release: Feb 4, 2016
  • Latest release: Dec 2, 2020
  • Number of updates: 35
  • Update frequency: every 50.4 days
  • Top authors: aajoda (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

70+ active / 2,010 total downloads


Plugin footprint Passed 16 tests

Installer Passed 1 test

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

Server metrics [RAM: ▲0.02MB] [CPU: ▼303.27ms] Passed 4 tests

Server-side resources used by Aajoda Testimonials
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.60 ▲0.0854.30 ▲4.76
Dashboard /wp-admin3.46 ▲0.0534.16 ▲1.68
Posts /wp-admin/edit.php3.69 ▲0.0538.82 ▲2.00
Add New Post /wp-admin/post-new.php6.93 ▼0.0493.08 ▼1,215.81
Media Library /wp-admin/upload.php3.34 ▲0.0524.67 ▼0.96

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

A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 23 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

A check of browser resources used by Aajoda Testimonials
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /4,023 ▲26515.78 ▲0.1717.49 ▲10.976.07 ▲3.45
Dashboard /wp-admin2,894 ▲336.00 ▼0.17120.93 ▼13.70183.70 ▲18.52
Posts /wp-admin/edit.php2,708 ▲233.09 ▼0.1466.79 ▲0.56143.23 ▲1.30
Add New Post /wp-admin/post-new.php1,794 ▲12817.59 ▼2.87438.92 ▼12.30164.48 ▼0.84
Media Library /wp-admin/upload.php1,715 ▲175.54 ▲0.05130.06 ▼11.21210.70 ▲19.10

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The plugin uninstalled completely, with no zombie files or tables

Smoke tests 75% from 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)
The smoke test was a success, however most plugin functionality was not tested

SRP 50% from 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
The following issues need your attention
  • 4× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/aajoda-testimonials/aajoda-testimonials.php:30
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_option() in wp-content/plugins/aajoda-testimonials/aajoda-testimonials-admin.php:21
    • > PHP Fatal error
      Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/aajoda-testimonials/trunk/aajoda-testimonials.php:30
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_option() in wp-content/plugins/aajoda-testimonials/trunk/aajoda-testimonials-admin.php:21

User-side errors Passed 1 test

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


Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
  • Screenshots: These screenshots do not have images: #1 (The Aajoda Testimonials for WordPress interface.), #2 (How it looks on your website.)
The official readme.txt might help

aajoda-testimonials/aajoda-testimonials.php Passed 13 tests

The main PHP file in "Aajoda Testimonials" ver. 2.1.1 adds more information about the plugin and also serves as the entry point for this plugin
46 characters long description:
Integrate Aajoda Testimonials on your website.

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
Everything looks great! No dangerous files found in this plugin330 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.29
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions26100.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size 50% from 2 tests

Image compression 50% from 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
10 PNG files occupy 0.55MB with 0.36MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
trunk/assets/banner-772x250.png67.91KB22.32KB▼ 67.14%
assets/icon-256x256.png9.44KB3.49KB▼ 62.99%
assets/banner-1544x500.png192.89KB61.26KB▼ 68.24%
trunk/assets/icon-256x256.png9.44KB3.49KB▼ 62.99%
assets/banner-772x250.png67.91KB22.32KB▼ 67.14%