Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.09MB] [CPU: ▼294.55ms] 75% from 4 tests
Server-side resources used by WordPress Infinite Scroll - Ajax Load More
Please take the time to fix the following items
- CPU: You should keep total CPU usage under 500.00ms (currently 2,858.21ms on /wp-admin/admin.php?page=ajax-load-more-extensions)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.10 | 59.56 ▼5.44 |
Dashboard /wp-admin | 3.52 ▲0.12 | 37.07 ▲4.48 |
Posts /wp-admin/edit.php | 3.75 ▲0.11 | 39.54 ▼0.13 |
Add New Post /wp-admin/post-new.php | 6.99 ▲0.02 | 92.26 ▼1,173.02 |
Media Library /wp-admin/upload.php | 3.41 ▲0.12 | 30.54 ▲0.38 |
Settings /wp-admin/admin.php?page=ajax-load-more | 3.43 | 30.06 |
Licenses /wp-admin/admin.php?page=ajax-load-more-licenses | 3.47 | 43.43 |
Help /wp-admin/admin.php?page=ajax-load-more-help | 3.43 | 24.22 |
Add-ons /wp-admin/admin.php?page=ajax-load-more-add-ons | 3.43 | 24.39 |
Repeater Templates /wp-admin/admin.php?page=ajax-load-more-repeaters | 3.51 | 33.61 |
Go Pro /wp-admin/admin.php?page=ajax-load-more-go-pro | 3.43 | 31.23 |
Shortcode Builder /wp-admin/admin.php?page=ajax-load-more-shortcode-builder | 3.75 | 39.42 |
Extensions /wp-admin/admin.php?page=ajax-load-more-extensions | 3.73 | 2,858.21 |
Server storage [IO: ▲3.75MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 240 new files
Database: 1 new table, 1 new option
New tables |
---|
wp_alm |
New WordPress options |
---|
alm_version |
Browser metrics Passed 4 tests
Checking browser requirements for WordPress Infinite Scroll - Ajax Load More
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,882 ▲160 | 15.83 ▲0.54 | 5.77 ▼0.98 | 2.32 ▼0.35 |
Dashboard /wp-admin | 2,978 ▲124 | 6.19 ▲0.02 | 123.84 ▼15.58 | 217.71 ▲15.71 |
Posts /wp-admin/edit.php | 2,775 ▲90 | 3.12 ▼0.13 | 64.28 ▲2.51 | 141.72 ▼4.39 |
Add New Post /wp-admin/post-new.php | 1,826 ▲165 | 26.21 ▲4.52 | 404.64 ▼84.74 | 212.30 ▼1.16 |
Media Library /wp-admin/upload.php | 1,782 ▲103 | 5.76 ▲0.30 | 126.31 ▼37.60 | 197.82 ▼22.39 |
Settings /wp-admin/admin.php?page=ajax-load-more | 1,878 | 3.00 | 67.40 | 247.17 |
Licenses /wp-admin/admin.php?page=ajax-load-more-licenses | 1,311 | 2.86 | 61.83 | 173.26 |
Help /wp-admin/admin.php?page=ajax-load-more-help | 1,394 | 2.86 | 73.27 | 215.68 |
Add-ons /wp-admin/admin.php?page=ajax-load-more-add-ons | 1,804 | 2.93 | 66.24 | 261.34 |
Repeater Templates /wp-admin/admin.php?page=ajax-load-more-repeaters | 2,011 | 3.93 | 81.15 | 314.58 |
Go Pro /wp-admin/admin.php?page=ajax-load-more-go-pro | 1,694 | 2.85 | 96.59 | 219.60 |
Shortcode Builder /wp-admin/admin.php?page=ajax-load-more-shortcode-builder | 5,459 | 3.57 | 122.45 | 285.29 |
Extensions /wp-admin/admin.php?page=ajax-load-more-extensions | 1,486 | 2.86 | 60.69 | 166.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- The uninstall procedure failed, leaving 1 table in the database
- wp_alm
- Zombie WordPress options were found after uninstall: 1 option
- alm_version
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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
The following issues need your attention
- 63× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Warning
Use of undefined constant ALM_TITLE - assumed 'ALM_TITLE' (this will throw an Error in a future version of PHP) in wp-content/plugins/ajax-load-more/admin/views/add-ons.php on line 6
- > PHP Fatal error
Uncaught Error: Call to undefined function alm_get_repeater_type() in wp-content/plugins/ajax-load-more/core/classes/includes/preloaded.php:40
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/ajax-load-more/admin/views/settings.php:13
- > PHP Warning
Use of undefined constant ALM_TITLE - assumed 'ALM_TITLE' (this will throw an Error in a future version of PHP) in wp-content/plugins/ajax-load-more/admin/views/extensions.php on line 5
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/ajax-load-more/admin/shortcode-builder/includes/tax-query-options.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_transient() in wp-content/plugins/ajax-load-more/admin/includes/cta/sharing.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function has_action() in wp-content/plugins/ajax-load-more/admin/includes/cta/dyk.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/ajax-load-more/admin/includes/cta/reviews.php:1
- > PHP Notice
Undefined variable: paging in wp-content/plugins/ajax-load-more/core/classes/includes/preloaded.php on line 20
- > PHP Notice
Undefined variable: transition_container_classes in wp-content/plugins/ajax-load-more/core/classes/includes/preloaded.php on line 16
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
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 need to be fixed:
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
ajax-load-more/ajax-load-more.php Passed 13 tests
The entry point to "WordPress Infinite Scroll - Ajax Load More" version 5.5.2 is a PHP file that has certain tags in its header comment area
75 characters long description:
The ultimate solution to add infinite scroll functionality to your website.
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin54,393 lines of code in 179 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 74 | 6,073 | 7,516 | 32,660 |
PHP | 64 | 1,676 | 2,277 | 8,892 |
Sass | 22 | 273 | 37 | 5,940 |
CSS | 5 | 554 | 191 | 5,172 |
HTML | 12 | 225 | 1 | 1,693 |
SVG | 2 | 0 | 2 | 36 |
PHP code 50% from 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
It is recommended to fix the following
- Method cyclomatic complexity should be reduced to less than 100 (currently 284)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 56.17 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 291.00 |
Average method complexity | 10.19 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 284.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 72 | |
▷ Static methods | 28 | 38.89% |
▷ Public methods | 62 | 86.11% |
▷ Protected methods | 3 | 4.17% |
▷ Private methods | 7 | 9.72% |
Functions | 106 | |
▷ Named functions | 105 | 99.06% |
▷ Anonymous functions | 1 | 0.94% |
Constants | 34 | |
▷ Global constants | 29 | 85.29% |
▷ Class constants | 5 | 14.71% |
▷ Public constants | 5 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
25 PNG files occupy 0.22MB with 0.15MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/bkg-chkbox_off.png | 1.09KB | 0.16KB | ▼ 84.91% |
admin/img/icon-search.png | 2.27KB | 1.48KB | ▼ 34.93% |
admin/img/bkg-radio_selected.png | 1.37KB | 0.55KB | ▼ 59.67% |
admin/img/logos/block-manager.png | 4.31KB | 1.87KB | ▼ 56.54% |
admin/img/column-1.png | 15.05KB | 0.10KB | ▼ 99.33% |