90% ajax-load-more-for-terms

Code Review | Ajax Load More for Terms

WordPress plugin Ajax Load More for Terms scored 90% from 54 tests.

About plugin

  • Plugin page: ajax-load-more-fo...
  • Plugin version: 1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-6.2
  • WordPress version: 6.3.1
  • First release: Mar 13, 2020
  • Latest release: Jun 12, 2023
  • Number of updates: 8
  • Update frequency: every 148.2 days
  • Top authors: dcooney (100%)

Code review

54 tests

User reviews

1 review

Install metrics

200+ active / 1,708 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully

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

A check of server-side resources used by Ajax Load More for Terms
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0640.24 ▼3.22
Dashboard /wp-admin3.36 ▲0.0546.38 ▼0.62
Posts /wp-admin/edit.php3.41 ▲0.0549.55 ▲5.98
Add New Post /wp-admin/post-new.php5.94 ▲0.0595.40 ▼5.65
Media Library /wp-admin/upload.php3.28 ▲0.0538.61 ▲1.06

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

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

Browser metrics Passed 4 tests

A check of browser resources used by Ajax Load More for Terms
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,832 ▲9713.28 ▼1.081.91 ▲0.0139.27 ▼6.74
Dashboard /wp-admin2,206 ▲155.88 ▼0.00106.65 ▲5.0137.37 ▼3.90
Posts /wp-admin/edit.php2,089 ▲32.04 ▲0.0639.46 ▲3.4436.43 ▲2.84
Add New Post /wp-admin/post-new.php1,542 ▲818.29 ▼5.00626.33 ▼40.3460.18 ▲11.20
Media Library /wp-admin/upload.php1,382 ▼34.23 ▲0.0394.74 ▼12.4243.52 ▼3.73

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
It is recommended to fix the following
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_recent-posts
    • theysaidso_admin_options
    • 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 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP Passed 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 SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side


Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
8 plugin tags: load more, taxonomy, wp_term_query, terms, infinite scroll...

ajax-load-more-for-terms/ajax-load-more-for-terms.php Passed 13 tests

Analyzing the main PHP file in "Ajax Load More for Terms" version 1.1
88 characters long description:
An Ajax Load More extension that adds compatibility for loading taxonomy terms via Ajax.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin194 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.52
Average class complexity53.00
▷ Minimum class complexity53.00
▷ Maximum class complexity53.00
Average method complexity9.67
▷ Minimum method complexity1.00
▷ Maximum method complexity38.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods6100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions3100.00%
▷ Anonymous functions00.00%
▷ Global constants2100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected