Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The following installer errors require your attention
- The plugin did not install without errors
- > Notice in wp-content/plugins/ultimate-infinite-scroll/includes/helpers.php+53
Trying to access array offset on value of type bool
Server metrics [RAM: ▲5.99MB] [CPU: ▲25.95ms] 75% from 4 tests
Server-side resources used by Ultimate Infinite Scroll Plugin
Please take the time to fix the following items
- Extra RAM: Try to keep extra memory usage under 5MB (currently 5.99MB on /wp-admin/admin.php?page=freemius)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 9.84 ▲6.38 | 73.43 ▲30.04 |
Dashboard /wp-admin | 9.86 ▲6.52 | 84.73 ▲19.12 |
Posts /wp-admin/edit.php | 9.86 ▲6.50 | 83.15 ▲31.43 |
Add New Post /wp-admin/post-new.php | 10.44 ▲4.55 | 130.64 ▲23.20 |
Media Library /wp-admin/upload.php | 9.86 ▲6.63 | 79.03 ▲44.83 |
Freemius Debug [v.2.5.5] /wp-admin/admin.php?page=freemius | 9.86 | 71.77 |
Server storage [IO: ▲5.46MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 307 new files
Database: no new tables, 10 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
fs_debug_mode |
fs_accounts |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
infinite-scroll-wc |
fs_active_plugins |
Browser metrics Passed 4 tests
An overview of browser requirements for Ultimate Infinite Scroll Plugin
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,936 ▲175 | 13.46 ▼0.89 | 11.85 ▲10.23 | 31.71 ▼7.80 |
Dashboard /wp-admin | 2,237 ▲60 | 5.51 ▼0.02 | 83.89 ▼7.27 | 46.36 ▲2.49 |
Posts /wp-admin/edit.php | 2,146 ▲43 | 1.98 ▲0.02 | 34.72 ▼6.09 | 31.99 ▼5.35 |
Add New Post /wp-admin/post-new.php | 1,547 ▲19 | 23.05 ▼0.28 | 641.22 ▼13.19 | 52.65 ▲2.06 |
Media Library /wp-admin/upload.php | 1,442 ▲45 | 4.23 ▲0.04 | 96.64 ▼9.45 | 44.55 ▼2.13 |
Freemius Debug [v.2.5.5] /wp-admin/admin.php?page=freemius | 1,094 | 1.69 | 23.84 | 27.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/ultimate-infinite-scroll/freemius/includes/class-freemius.php+8486
Undefined property: stdClass::$plugins
- Zombie WordPress options detected upon uninstall: 10 options
- fs_active_plugins
- widget_recent-comments
- can_compress_scripts
- fs_accounts
- widget_theysaidso_widget
- infinite-scroll-wc
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- fs_debug_mode
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means 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 take a closer look at the following
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/ultimate-infinite-scroll/includes/helpers.php:42
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/ultimate-infinite-scroll/ultimate-infinite-scroll.php:22
- > 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 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Screenshots: A description for screenshot #4 is required in ultimate-infinite-scroll/assets to your readme.txt
- Tags: Please delete some tags, you are using 14 tag instead of maximum 10
ultimate-infinite-scroll/ultimate-infinite-scroll.php 92% from 13 tests
The principal PHP file in "Ultimate Infinite Scroll Plugin" v. 1.0.3 is loaded by WordPress automatically on each request
The following require your attention:
- Text Domain: The text domain name should consist of only dashes and lowercase characters
Code Analysis 97% from 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 detected72,916 lines of code in 255 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 186 | 10,411 | 18,237 | 40,240 |
PO File | 12 | 6,960 | 8,455 | 15,240 |
CSS | 21 | 1,001 | 491 | 7,854 |
Sass | 15 | 928 | 3 | 4,730 |
JavaScript | 16 | 1,324 | 498 | 4,608 |
Markdown | 1 | 68 | 0 | 214 |
JSON | 1 | 0 | 0 | 27 |
SVG | 3 | 0 | 0 | 3 |
PHP code 50% from 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
It is recommended to fix the following
- Cyclomatic complexity of classes should be reduced to less than 1000 (currently 3,079)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.64 |
Average class complexity | 55.31 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,079.00 |
Average method complexity | 4.96 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 108 | |
▷ Abstract classes | 4 | 3.70% |
▷ Concrete classes | 104 | 96.30% |
▷ Final classes | 0 | 0.00% |
Methods | 1,511 | |
▷ Static methods | 236 | 15.62% |
▷ Public methods | 1,121 | 74.19% |
▷ Protected methods | 18 | 1.19% |
▷ Private methods | 372 | 24.62% |
Functions | 115 | |
▷ Named functions | 114 | 99.13% |
▷ Anonymous functions | 1 | 0.87% |
Constants | 148 | |
▷ Global constants | 101 | 68.24% |
▷ Class constants | 47 | 31.76% |
▷ Public constants | 47 | 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 PNG files occupy 0.07MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/bulksms.png | 5.96KB | 4.30KB | ▼ 27.81% |
freemius/assets/img/ultimate-infinite-scroll.png | 14.16KB | 4.93KB | ▼ 65.17% |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
freemius/assets/img/wp-twilio-core.png | 23.59KB | 8.71KB | ▼ 63.09% |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |