84% aajoda-testimonials

Code Review | Aajoda Testimonials

WordPress plugin Aajoda Testimonials scored84%from 54 tests.

About plugin

  • Plugin page: aajoda-testimonials
  • Plugin version: 2.2.2
  • PHP version: 7.4.16
  • WordPress compatibility: 3.6.0-6.1.1
  • WordPress version: 6.3.1
  • First release: Feb 4, 2016
  • Latest release: May 22, 2023
  • Number of updates: 44
  • Update frequency: every 60.5 days
  • Top authors: aajoda (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

40+ active /2,638 total downloads


Plugin footprint 83% from 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.05MB] [CPU: ▼1.52ms] Passed 4 tests

An overview of server-side resources used by Aajoda Testimonials
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.51 ▲0.0539.77 ▼0.38
Dashboard /wp-admin3.35 ▲0.0549.53 ▲0.17
Posts /wp-admin/edit.php3.40 ▲0.0547.65 ▼5.75
Add New Post /wp-admin/post-new.php5.93 ▲0.0594.91 ▼0.10
Media Library /wp-admin/upload.php3.28 ▲0.0538.03 ▲3.11

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

Filesystem and database footprint
This plugin installed successfully
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

A check of browser resources used by Aajoda Testimonials
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,947 ▲20113.26 ▼1.184.93 ▲2.6380.09 ▲33.91
Dashboard /wp-admin2,224 ▲334.93 ▲0.04100.65 ▼18.7569.63 ▲31.93
Posts /wp-admin/edit.php2,107 ▲182.00 ▲0.0140.79 ▲0.2535.68 ▲1.06
Add New Post /wp-admin/post-new.php1,528 ▼123.17 ▲0.10718.86 ▲21.3153.38 ▲2.01
Media Library /wp-admin/upload.php1,406 ▲214.21 ▲0.00102.48 ▼41.6273.79 ▲21.44

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_recent-comments
    • widget_recent-posts
    • widget_theysaidso_widget
    • can_compress_scripts
    • db_upgraded
    • theysaidso_admin_options

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
Good news, no errors were detected

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
  • 4× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function wp_kses() in wp-content/plugins/aajoda-testimonials/aajoda-testimonials-admin.php:18
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_option() in wp-content/plugins/aajoda-testimonials/trunk/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 load_plugin_textdomain() in wp-content/plugins/aajoda-testimonials/aajoda-testimonials.php:30

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found


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:
  • Screenshots: These screenshots have no corresponding images in /assets: #1 (The Aajoda Testimonials for WordPress interface.), #2 (How it looks on your website.)
You can take inspiration from this readme.txt

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

The main PHP file in "Aajoda Testimonials" ver. 2.2.2 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 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected652 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.30
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 functions25100.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

PNG files should be compressed to save space and minimize bandwidth usage
10 PNG files occupy 0.55MB with 0.41MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
trunk/img/aajodatestimonials-icon.png3.19KB0.49KB▼ 84.73%
assets/banner-772x250.png67.91KB22.32KB▼ 67.14%
trunk/assets/banner-1544x500.png192.89KB61.26KB▼ 68.24%
img/aajodatestimonials-icon.png3.19KB0.49KB▼ 84.73%
trunk/assets/banner-772x250.png67.91KB22.32KB▼ 67.14%