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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.17MB] [CPU: ▼3.88ms] Passed 4 tests
Server-side resources used by Catch Infinite Scroll
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.18 | 37.93 ▼4.07 |
Dashboard /wp-admin | 3.48 ▲0.17 | 47.14 ▼3.54 |
Posts /wp-admin/edit.php | 3.60 ▲0.23 | 47.37 ▲2.52 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.17 | 90.88 ▼10.42 |
Media Library /wp-admin/upload.php | 3.40 ▲0.17 | 37.22 ▲4.19 |
Server storage [IO: ▲0.37MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 42 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Catch Infinite Scroll
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,892 ▲105 | 13.74 ▼0.61 | 8.50 ▲6.65 | 44.71 ▼0.30 |
Dashboard /wp-admin | 2,211 ▲31 | 5.60 ▼0.05 | 91.14 ▼8.84 | 40.76 ▼5.55 |
Posts /wp-admin/edit.php | 2,116 ▲16 | 2.00 ▲0.06 | 39.79 ▲1.30 | 35.92 ▼3.10 |
Add New Post /wp-admin/post-new.php | 1,539 ▲13 | 23.14 ▲0.02 | 612.44 ▲2.65 | 52.17 ▼0.40 |
Media Library /wp-admin/upload.php | 1,416 ▲16 | 4.21 ▼0.01 | 96.46 ▼2.65 | 40.32 ▼5.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 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 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 7× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/catch-infinite-scroll/includes/ctp-tabs-removal.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/catch-infinite-scroll/admin/partials/catch-infinite-scroll-admin-display.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/catch-infinite-scroll/admin/partials/footer.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function remove_action() in wp-content/plugins/catch-infinite-scroll/includes/CatchThemesThemePlugin.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/catch-infinite-scroll/admin/partials/sidebar.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/catch-infinite-scroll/includes/jetpack-compatibility.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/catch-infinite-scroll/admin/partials/catch-infinite-scroll-display-dashboard.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 96% 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
5 plugin tags: scroll, infinite scrolling, load more, infinite, infinite scroll
catch-infinite-scroll/catch-infinite-scroll.php 92% from 13 tests
Analyzing the main PHP file in "Catch Infinite Scroll" version 2.0.5
The following require your attention:
- Description: Keep the plugin description shorter than 140 characters (currently 180 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected2,318 lines of code in 25 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 328 | 679 | 1,207 |
CSS | 3 | 156 | 22 | 782 |
JavaScript | 4 | 55 | 88 | 329 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 11.25 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 3.16 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 38 | |
▷ Static methods | 2 | 5.26% |
▷ Public methods | 33 | 86.84% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 13.16% |
Functions | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
3 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/premium-plugin-246x116.png | 9.01KB | 4.16KB | ▼ 53.83% |
admin/images/free-plugin-246x116.png | 8.01KB | 3.81KB | ▼ 52.42% |
image/logo.png | 2.44KB | 2.18KB | ▼ 10.72% |