Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼8.45ms] Passed 4 tests
An overview of server-side resources used by Infinite Scroll for Genesis
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 37.51 ▼8.21 |
Dashboard /wp-admin | 3.37 ▲0.03 | 49.68 ▼10.65 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 49.05 ▼2.30 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 86.91 ▼12.62 |
Media Library /wp-admin/upload.php | 3.29 ▲0.07 | 40.23 ▲3.33 |
Infinite Scroll /wp-admin/options-general.php?page=infinite-scroll-for-wp | 3.31 | 37.34 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Infinite Scroll for Genesis
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲7 | 14.23 ▼0.18 | 1.60 ▼0.25 | 42.04 ▲1.58 |
Dashboard /wp-admin | 2,193 ▲16 | 5.49 ▼0.16 | 84.22 ▼3.59 | 41.55 ▲2.48 |
Posts /wp-admin/edit.php | 2,101 ▲4 | 1.95 ▲0.01 | 35.97 ▼3.72 | 34.35 ▼1.31 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 22.99 ▼0.07 | 680.59 ▲39.96 | 54.35 ▲8.26 |
Media Library /wp-admin/upload.php | 1,398 ▼5 | 4.21 ▼0.08 | 99.44 ▼5.41 | 41.38 ▼3.05 |
Infinite Scroll /wp-admin/options-general.php?page=infinite-scroll-for-wp | 1,075 | 2.29 | 25.55 | 38.89 |
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
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
Smoke tests 50% from 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 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 9× PHP files trigger errors when accessed directly with GET requests:
- > PHP Warning
Use of undefined constant ikva_infinite_scroll_for_wp_SETTINGS_SLUG - assumed 'ikva_infinite_scroll_for_wp_SETTINGS_SLUG' (this will throw an Error in a future version of PHP) in wp-content/plugins/infinite-scrolling/includes/admin/settings.php on line 21
- > PHP Warning
Use of undefined constant ikva_infinite_scroll_for_wp_SETTINGS_SLUG - assumed 'ikva_infinite_scroll_for_wp_SETTINGS_SLUG' (this will throw an Error in a future version of PHP) in wp-content/plugins/infinite-scrolling/includes/admin/settings.php on line 15
- > PHP Warning
Use of undefined constant ikva_infinite_scroll_for_wp_SETTINGS_SLUG - assumed 'ikva_infinite_scroll_for_wp_SETTINGS_SLUG' (this will throw an Error in a future version of PHP) in wp-content/plugins/infinite-scrolling/includes/admin/settings.php on line 18
- > PHP Warning
include_once(ikva_infinite_scroll_for_wp_PLUGIN_DIR/includes/menu/configure.php): failed to open stream: No such file or directory in wp-content/plugins/infinite-scrolling/includes/admin/settings.php on line 92
- > PHP Warning
Use of undefined constant ikva_infinite_scroll_for_wp_PLUGIN_DIR - assumed 'ikva_infinite_scroll_for_wp_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/infinite-scrolling/includes/admin/settings.php on line 92
- > PHP Fatal error
Uncaught Error: Call to undefined function ikva_infinite_scroll_for_wp_configure() in wp-content/plugins/infinite-scrolling/includes/admin/settings.php:93
- > PHP Warning
include_once(): Failed opening 'ikva_infinite_scroll_for_wp_PLUGIN_DIR/includes/menu/configure.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/infinite-scrolling/includes/admin/settings.php on line 92
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/infinite-scrolling/includes/menu/menus.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/infinite-scrolling/includes/front/infinite-scroll.php:3
- > PHP Warning
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
These are user-side errors you should fix
- > GET request to /wp-admin/options-general.php?page=infinite-scroll-for-wp
- > Rendering (warning) in unknown
/wp-admin/options-general.php?page=infinite-scroll-for-wp 279 The specified value "#333" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: user experience, infinite scroll, ui, pagination, genesis
infinite-scrolling/infinite-scroll-for-wp.php 92% from 13 tests
The main PHP file in "Infinite Scroll for Genesis" ver. 2.0 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("infinite-scrolling.php" instead of "infinite-scroll-for-wp.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected1,033 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 237 | 19 | 1,032 |
JavaScript | 1 | 1 | 10 | 1 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 1.91 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 27 | |
▷ Named functions | 27 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 2 | 40.00% |
▷ Class constants | 3 | 60.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
7 compressed PNG files occupy 0.05MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/bunnycdn.png | 8.20KB | 8.30KB | 0.00% |
assets/images/wordpress.png | 14.34KB | 15.46KB | 0.00% |
assets/images/wp-droid.png | 5.62KB | 5.93KB | 0.00% |
assets/images/android.png | 5.72KB | 6.01KB | 0.00% |
assets/images/wp-rocket.png | 8.22KB | 8.33KB | 0.00% |