Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲1.42MB] [CPU: ▲11.02ms] 75% from 4 tests
A check of server-side resources used by YITH Infinite Scrolling
The following require your attention
- CPU: You should keep total CPU usage under 500.00ms (currently 1,316.84ms on /wp-admin/admin.php?page=yith_system_info)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 41.82 ▲1.46 |
Dashboard /wp-admin | 5.74 ▲2.43 | 75.98 ▲24.31 |
Posts /wp-admin/edit.php | 5.27 ▲1.91 | 60.27 ▲12.96 |
Add New Post /wp-admin/post-new.php | 7.75 ▲1.86 | 107.18 ▲8.40 |
Media Library /wp-admin/upload.php | 5.08 ▲1.84 | 55.59 ▲21.27 |
System Status /wp-admin/admin.php?page=yith_system_info | 5.12 | 1,316.84 |
Infinite Scrolling /wp-admin/admin.php?page=yith_infs_panel | 5.12 | 50.69 |
Server storage [IO: ▲3.62MB] [DB: ▲0.06MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 322 new files
Database: no new tables, 8 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
yith_system_info |
widget_theysaidso_widget |
yit_recently_activated |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for YITH Infinite Scrolling
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,398 ▲611 | 13.95 ▼0.29 | 10.09 ▲8.11 | 43.06 ▼1.17 |
Dashboard /wp-admin | 2,675 ▲511 | 5.88 ▲0.10 | 98.17 ▼14.93 | 94.67 ▲50.34 |
Posts /wp-admin/edit.php | 2,153 ▲53 | 1.95 ▼0.02 | 38.31 ▼1.30 | 33.63 ▼4.41 |
Add New Post /wp-admin/post-new.php | 1,578 ▲52 | 23.34 ▼0.15 | 771.12 ▲73.88 | 61.44 ▲3.82 |
Media Library /wp-admin/upload.php | 1,453 ▲53 | 4.25 ▲0.06 | 112.03 ▲12.38 | 83.46 ▲39.20 |
System Status /wp-admin/admin.php?page=yith_system_info | 1,307 | 2.02 | 23.53 | 53.34 |
Infinite Scrolling /wp-admin/admin.php?page=yith_infs_panel | 1,354 | 4.07 | 61.19 | 99.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 8 options in the database
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- yith_system_info
- theysaidso_admin_options
- yit_recently_activated
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP Passed 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 SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% 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:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== yith-infinite-scrolling ===
)
yith-infinite-scrolling/init.php 85% from 13 tests
The principal PHP file in "YITH Infinite Scrolling" v. 1.17.0 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 235 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("yith-infinite-scrolling.php" instead of "init.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin40,764 lines of code in 255 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 171 | 2,658 | 5,359 | 14,927 |
JavaScript | 49 | 1,345 | 843 | 9,353 |
CSS | 20 | 1,661 | 244 | 9,211 |
PO File | 6 | 1,566 | 1,920 | 4,307 |
SVG | 8 | 0 | 1 | 2,926 |
XML | 1 | 12 | 9 | 40 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for 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.51 |
Average class complexity | 41.93 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 336.00 |
Average method complexity | 4.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 42.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 29 | |
▷ Abstract classes | 1 | 3.45% |
▷ Concrete classes | 28 | 96.55% |
▷ Final classes | 0 | 0.00% |
Methods | 378 | |
▷ Static methods | 53 | 14.02% |
▷ Public methods | 306 | 80.95% |
▷ Protected methods | 52 | 13.76% |
▷ Private methods | 20 | 5.29% |
Functions | 140 | |
▷ Named functions | 132 | 94.29% |
▷ Anonymous functions | 8 | 5.71% |
Constants | 19 | |
▷ Global constants | 18 | 94.74% |
▷ Class constants | 1 | 5.26% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
45 PNG files occupy 0.41MB with 0.14MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/01-bg.png | 3.99KB | 1.73KB | ▼ 56.58% |
plugin-fw/assets/css/jquery-ui/images/ui-bg_glass_75_dadada_1x400.png | 0.09KB | 0.16KB | 0.00% |
plugin-fw/assets/images/x.png | 0.70KB | 0.71KB | 0.00% |
assets/images/05-icon.png | 1.51KB | 0.73KB | ▼ 51.48% |
assets/images/04-bg.png | 2.65KB | 1.09KB | ▼ 58.77% |