Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼7.88ms] Passed 4 tests
Server-side resources used by Infinite Scroll and Ajax Load More
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▼0.00 | 23.80 ▼18.40 |
Dashboard /wp-admin | 3.40 ▲0.09 | 45.57 ▼5.42 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 53.46 ▲8.05 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 85.08 ▼8.70 |
Media Library /wp-admin/upload.php | 3.33 ▲0.09 | 33.75 ▲1.00 |
Infinite Scroll /wp-admin/options-general.php?page=bliss-ajax-loadmore | 3.32 | 35.82 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Infinite Scroll and Ajax Load More
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,881 ▲95 | 13.48 ▼0.89 | 8.47 ▲6.32 | 37.16 ▼6.22 |
Dashboard /wp-admin | 2,201 ▲24 | 5.63 ▼0.06 | 85.72 ▼1.76 | 39.88 ▼2.09 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 2.02 ▲0.00 | 34.56 ▼4.97 | 30.49 ▼7.59 |
Add New Post /wp-admin/post-new.php | 1,532 ▼5 | 23.24 ▲4.93 | 650.06 ▲31.56 | 58.41 ▼1.72 |
Media Library /wp-admin/upload.php | 1,407 ▲4 | 4.23 ▼0.01 | 94.97 ▼3.79 | 40.05 ▼1.04 |
Infinite Scroll /wp-admin/options-general.php?page=bliss-ajax-loadmore | 1,335 | 3.48 | 58.68 | 27.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
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
Please take a closer look at the following
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/infinite-scroll-and-ajax-load-more/admin/bliss-loadmore-setting.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/infinite-scroll-and-ajax-load-more/public/bliss-ajax-loadmore-front.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/infinite-scroll-and-ajax-load-more/public/bliss-infinite-loadmore-script.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function the_ID() in wp-content/plugins/infinite-scroll-and-ajax-load-more/templates/content-loop.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 86% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: infinite scroll, infinite, load more, infinite scrolling, scroll
infinite-scroll-and-ajax-load-more/infinite-scroll-ajax-load-more.php 69% from 13 tests
The primary PHP file in "Infinite Scroll and Ajax Load More" version 1.0.0 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Domain Path: The domain path should be prefixed with a forward slash character ("/languages")
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("infinite-scroll-and-ajax-load-more.php" instead of "infinite-scroll-ajax-load-more.php")
- Domain Path: Note that the domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("languages")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected559 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 58 | 137 | 466 |
JavaScript | 3 | 10 | 5 | 79 |
CSS | 2 | 0 | 0 | 14 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 16.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 3.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 18 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 8 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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 images were found in this plugin