89% asynchronous-jquery-loader

Code Review | jQuery & Plugins Asynchronous Loader

WordPress plugin jQuery & Plugins Asynchronous Loader scored 89% from 54 tests.

About plugin

  • Plugin page: asynchronous-jque...
  • Plugin version: 1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 4.1-4.7.2
  • WordPress version: 6.3.1
  • First release: Mar 8, 2017
  • Latest release: Mar 8, 2017
  • Number of updates: 2
  • Update frequency: N/A
  • Top authors: KillBill-sbor (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 2,273 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully

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

A check of server-side resources used by jQuery & Plugins Asynchronous Loader
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0447.99 ▲6.85
Dashboard /wp-admin3.36 ▲0.0548.76 ▲0.60
Posts /wp-admin/edit.php3.41 ▲0.0544.55 ▼5.01
Add New Post /wp-admin/post-new.php5.94 ▲0.0582.39 ▼11.40
Media Library /wp-admin/upload.php3.28 ▲0.0539.46 ▲6.13
jQuery Async Loader /wp-admin/options-general.php?page=jquery_async_loader3.2531.12

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

Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

An overview of browser requirements for jQuery & Plugins Asynchronous Loader
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,899 ▲1648.59 ▼5.7911.91 ▲10.1246.12 ▼1.16
Dashboard /wp-admin2,214 ▲265.89 ▲1.00100.10 ▼2.3545.86 ▲0.16
Posts /wp-admin/edit.php2,097 ▲82.03 ▲0.0135.06 ▼4.6134.50 ▼0.48
Add New Post /wp-admin/post-new.php1,531 ▲1723.42 ▲5.74659.92 ▼53.1948.03 ▼19.87
Media Library /wp-admin/upload.php1,396 ▲84.21 ▼0.0295.76 ▼7.9243.25 ▼2.50
jQuery Async Loader /wp-admin/options-general.php?page=jquery_async_loader8652.0228.8532.19

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • theysaidso_admin_options
    • widget_recent-posts
    • can_compress_scripts
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-comments

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected

SRP Passed 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
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found


Plugin configuration 90% from 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
9 plugin tags: jquery, above the fold, insights, render blocking, optimization...

asynchronous-jquery-loader/jquery-async-loader.php 77% from 13 tests

"jQuery & Plugins Asynchronous Loader" version 1.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
  • Description: The description should be shorter than 140 characters (currently 381 characters long)
  • Main file name: The principal plugin file should be the same as the plugin slug ("asynchronous-jquery-loader.php" instead of "jquery-async-loader.php")
  • Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin269 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PO File1191998

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.21
Average class complexity12.00
▷ Minimum class complexity12.00
▷ Maximum class complexity12.00
Average method complexity1.79
▷ Minimum method complexity1.00
▷ Maximum method complexity5.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
▷ Static methods214.29%
▷ Public methods14100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions2100.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants1100.00%
▷ Public constants1100.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