Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼9.88ms] Passed 4 tests
Analyzing server-side resources used by WP EasyScroll Posts
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.40 ▼0.06 | 23.79 ▼19.91 |
Dashboard /wp-admin | 3.33 ▼0.01 | 52.81 ▼13.08 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 50.15 ▼2.42 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 99.59 ▼0.24 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 38.72 ▼4.11 |
Server storage [IO: ▲0.92MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 23 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
wp_easy_scroll_posts |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP EasyScroll Posts
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,920 ▲134 | 13.72 ▼0.92 | 6.17 ▲4.26 | 42.71 ▼3.31 |
Dashboard /wp-admin | 2,239 ▲36 | 4.86 ▼0.06 | 107.31 ▼6.57 | 41.67 ▼8.68 |
Posts /wp-admin/edit.php | 2,118 ▲18 | 2.01 ▼0.02 | 40.11 ▲2.41 | 34.80 ▼2.32 |
Add New Post /wp-admin/post-new.php | 1,556 ▲10 | 23.14 ▼0.22 | 648.71 ▲26.17 | 59.14 ▼1.35 |
Media Library /wp-admin/upload.php | 1,415 ▲12 | 4.21 ▲0.06 | 103.26 ▼9.64 | 47.86 ▲0.74 |
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
You still need to fix the following
- This plugin does not fully uninstall, leaving 7 options in the database
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- wp_easy_scroll_posts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
9 plugin tags: scroll posts, scroll, pagination, scrolling, post pagination...
wp-infinite-scroll-posts/wp-easy-scroll-posts.php 85% from 13 tests
The primary PHP file in "WP EasyScroll Posts" version 1.3 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wp-infinite-scroll-posts.php" instead of "wp-easy-scroll-posts.php")
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 detected1,172 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 188 | 111 | 600 |
PHP | 5 | 100 | 38 | 454 |
PO File | 1 | 33 | 34 | 82 |
CSS | 1 | 3 | 0 | 36 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 14.33 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 2.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.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 | 27 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 27 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
8 PNG files occupy 0.82MB with 0.41MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-5.png | 307.24KB | 126.35KB | ▼ 58.87% |
img/arrow_icon.png | 0.55KB | 0.56KB | 0.00% |
img/woo_frontend_banner.png | 36.65KB | 12.80KB | ▼ 65.07% |
img/blue_frog_banner.png | 35.58KB | 12.88KB | ▼ 63.81% |
screenshot-3.png | 123.96KB | 44.46KB | ▼ 64.14% |