Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.29MB] [CPU: ▼1.07ms] Passed 4 tests
Analyzing server-side resources used by WordPress Infinite Scroll by Auto Load Next Post
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.19 | 43.56 ▲0.83 |
Dashboard /wp-admin | 3.68 ▲0.37 | 51.60 ▼0.60 |
Posts /wp-admin/edit.php | 3.72 ▲0.36 | 50.06 ▲3.34 |
Add New Post /wp-admin/post-new.php | 6.19 ▲0.30 | 86.63 ▼7.85 |
Media Library /wp-admin/upload.php | 3.53 ▲0.30 | 38.91 ▲5.46 |
Auto Load Next Post /wp-admin/options-general.php?page=auto-load-next-post-settings | 3.71 | 43.87 |
Server storage [IO: ▲1.22MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 162 new files
Database: no new tables, 11 new options
New WordPress options |
---|
auto_load_next_post_version |
can_compress_scripts |
auto_load_next_post_remove_comments |
auto_load_next_post_load_js_in_footer |
widget_recent-posts |
auto_load_next_post_google_analytics |
widget_theysaidso_widget |
auto_load_next_post_uninstall_data |
widget_recent-comments |
db_upgraded |
... |
Browser metrics Passed 4 tests
A check of browser resources used by WordPress Infinite Scroll by Auto Load Next Post
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,870 ▲124 | 13.71 ▼0.69 | 1.66 ▼0.16 | 44.15 ▼1.20 |
Dashboard /wp-admin | 2,276 ▲88 | 5.89 ▲1.02 | 106.78 ▼7.79 | 84.03 ▲41.46 |
Posts /wp-admin/edit.php | 2,092 ▼0 | 2.02 ▲0.02 | 35.62 ▼5.17 | 33.27 ▼3.45 |
Add New Post /wp-admin/post-new.php | 1,519 ▼24 | 17.64 ▼0.69 | 593.49 ▼52.27 | 51.82 ▼4.20 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.34 ▲0.09 | 102.01 ▲0.33 | 44.59 ▲2.49 |
Auto Load Next Post /wp-admin/options-general.php?page=auto-load-next-post-settings | 1,300 | 2.06 | 34.76 | 57.25 |
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
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 4× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/auto-load-next-post/trunk/includes/3rd-party/plugins/wp-rocket.php
- > /wp-content/plugins/auto-load-next-post/includes/3rd-party/plugins/wp-rocket.php
- > /wp-content/plugins/auto-load-next-post/includes/3rd-party/3rd-party.php
- > /wp-content/plugins/auto-load-next-post/trunk/includes/3rd-party/3rd-party.php
- 20× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function have_posts() in wp-content/plugins/auto-load-next-post/trunk/template/theme-support/twentyeleven/content-alnp.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function have_posts() in wp-content/plugins/auto-load-next-post/trunk/template/theme-support/make/content-alnp.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function have_posts() in wp-content/plugins/auto-load-next-post/trunk/template/theme-support/oceanwp/content-alnp.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function have_posts() in wp-content/plugins/auto-load-next-post/template/theme-support/oceanwp/content-alnp.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function untrailingslashit() in wp-content/plugins/auto-load-next-post/auto-load-next-post.php:133
- > PHP Fatal error
Uncaught Error: Call to undefined function the_ID() in wp-content/plugins/auto-load-next-post/trunk/template/theme-support/twentynineteen/content-page.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function have_posts() in wp-content/plugins/auto-load-next-post/template/content-alnp.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function the_ID() in wp-content/plugins/auto-load-next-post/template/theme-support/twentynineteen/content-page.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function untrailingslashit() in wp-content/plugins/auto-load-next-post/trunk/auto-load-next-post.php:133
- > PHP Fatal error
Uncaught Error: Call to undefined function have_posts() in wp-content/plugins/auto-load-next-post/trunk/template/theme-support/twentyten/content-alnp.php:11
- > PHP Fatal error
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
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: infinite scrolling, infinite, scroll, infinite scroll
auto-load-next-post/auto-load-next-post.php Passed 13 tests
This is the main PHP file of "WordPress Infinite Scroll by Auto Load Next Post" version 1.5.14, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
100 characters long description:
Increase your pageviews on your site as readers continue reading your posts scrolling down the page.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin9,005 lines of code in 75 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 10 | 1,326 | 461 | 4,952 |
PHP | 61 | 879 | 2,362 | 3,091 |
CSS | 4 | 157 | 10 | 962 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 8.84 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 100.00 |
Average method complexity | 2.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 60.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 64 | |
▷ Abstract classes | 2 | 3.12% |
▷ Concrete classes | 62 | 96.88% |
▷ Final classes | 0 | 0.00% |
Methods | 300 | |
▷ Static methods | 142 | 47.33% |
▷ Public methods | 284 | 94.67% |
▷ Protected methods | 2 | 0.67% |
▷ Private methods | 14 | 4.67% |
Functions | 46 | |
▷ Named functions | 46 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 36 | |
▷ Global constants | 36 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
6 PNG files occupy 0.05MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/icon-256x256.png | 11.81KB | 6.66KB | ▼ 43.62% |
trunk/assets/images/icon-128x128.png | 7.70KB | 4.01KB | ▼ 47.97% |
trunk/assets/images/icon-256x256.png | 11.81KB | 6.66KB | ▼ 43.62% |
trunk/assets/images/banner.png | 5.22KB | 1.94KB | ▼ 62.81% |
assets/images/banner.png | 5.22KB | 1.94KB | ▼ 62.81% |