Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲5.83MB] [CPU: ▲33.94ms] 75% from 4 tests
An overview of server-side resources used by Scrollsequence - Cinematic Scroll Image Animation Plugin
It is recommended to improve the following
- Extra RAM: The extra memory usage should kept under 5MB (currently 5.83MB on /wp-admin/edit.php?post_type=scrollsequence)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 9.21 ▲5.74 | 74.80 ▲41.08 |
Dashboard /wp-admin | 9.23 ▲5.92 | 83.81 ▲39.27 |
Posts /wp-admin/edit.php | 9.23 ▲5.87 | 87.55 ▲35.61 |
Add New Post /wp-admin/post-new.php | 11.69 ▲5.80 | 116.93 ▲19.78 |
Media Library /wp-admin/upload.php | 9.23 ▲6.00 | 78.35 ▲41.36 |
Add New Scrollsequence /wp-admin/post-new.php?post_type=scrollsequence | 9.33 | 87.99 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 9.26 | 73.01 |
Dashboard /wp-admin/admin.php?page=scrollsequence-dashboard | 9.23 | 68.16 |
Scrollsequence /wp-admin/edit.php?post_type=scrollsequence | 9.23 | 98.16 |
Server storage [IO: ▲14.21MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 686 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_recent-posts |
fs_accounts |
fs_debug_mode |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
fs_active_plugins |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Scrollsequence - Cinematic Scroll Image Animation Plugin: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,054 ▲268 | 18.45 ▲4.18 | 1.60 ▼0.22 | 29.67 ▼11.98 |
Dashboard /wp-admin | 2,461 ▲286 | 9.10 ▲3.38 | 216.83 ▲112.54 | 44.24 ▼3.06 |
Posts /wp-admin/edit.php | 2,406 ▲306 | 6.25 ▲4.23 | 90.58 ▲54.54 | 34.35 ▼1.72 |
Add New Post /wp-admin/post-new.php | 1,632 ▲103 | 26.33 ▲3.28 | 745.49 ▲85.22 | 49.47 ▼1.88 |
Media Library /wp-admin/upload.php | 1,536 ▲139 | 6.71 ▲2.57 | 113.13 ▲9.59 | 42.25 ▼0.07 |
Add New Scrollsequence /wp-admin/post-new.php?post_type=scrollsequence | 2,783 | 10.61 | 347.56 | 91.48 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 1,399 | 6.13 | 68.87 | 26.16 |
Dashboard /wp-admin/admin.php?page=scrollsequence-dashboard | 2,595 | 19.12 | 374.34 | 160.71 |
Scrollsequence /wp-admin/edit.php?post_type=scrollsequence | 1,447 | 7.23 | 92.73 | 36.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/scrollsequence/includes/freemius/includes/class-freemius.php+8486
Undefined property: stdClass::$plugins
- This plugin did not uninstall successfully, leaving 9 options in the database
- fs_active_plugins
- fs_accounts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- fs_debug_mode
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=scrollsequence
- > request to
- > Notice in wp-config.php+20
Undefined index: REQUEST_METHOD
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/scrollsequence/public/partials/scrollsequence-public-display.php
- > /wp-content/plugins/scrollsequence/includes/carbonfields/htmlburger/carbon-fields/templates/Exception/incorrect-syntax.php
- 122× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/scrollsequence/includes/carbonfields/htmlburger/carbon-fields/templates/Exception/incorrect-syntax.php on line 35
- > PHP Fatal error
Uncaught Error: Interface 'Carbon_Fields\\Datastore\\Datastore_Interface' not found in wp-content/plugins/scrollsequence/includes/carbonfields/htmlburger/carbon-fields/core/Datastore/Datastore.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_errors() in wp-content/plugins/scrollsequence/admin/partials/scrollsequence-admin-display.php:36
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Scripts_Field' not found in wp-content/plugins/scrollsequence/includes/carbonfields/htmlburger/carbon-fields/core/Field/Footer_Scripts_Field.php:9
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/scrollsequence/includes/carbonfields/htmlburger/carbon-fields/templates/Container/user_meta.php:1
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Condition' not found in wp-content/plugins/scrollsequence/includes/carbonfields/htmlburger/carbon-fields/core/Container/Condition/Post_Parent_ID_Condition.php:8
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/scrollsequence/includes/carbonfields/htmlburger/carbon-fields/templates/Container/nav_menu_item.php:1
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Field' not found in wp-content/plugins/scrollsequence/includes/carbonfields/htmlburger/carbon-fields/core/Field/Color_Field.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/scrollsequence/admin/partials/scrollsequence-admin-display-options.php:5
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Field' not found in wp-content/plugins/scrollsequence/includes/carbonfields/htmlburger/carbon-fields/core/Field/Association_Field.php:19
- > PHP Warning
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following browser errors
- 4 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=scrollsequence
- > Console-api (warning) in wp-content/plugins/scrollsequence/includes/carbonfields/htmlburger/carbon-fields/build/classic/vendor.min.js?ver=3.6.0+48:54975
wp.compose.withState is deprecated since version 5.8. Please use wp.element.useState instead.
- > GET request to /wp-admin/admin.php?page=scrollsequence-dashboard
- > Other (warning) in unknown
/wp-admin/admin.php?page=scrollsequence-dashboard 313 Allow attribute will take precedence over 'allowfullscreen'.
Optimizations
Plugin configuration 97% 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:
- Screenshots: These screenshots lack descriptions #10, #11, #8, #9 in scrollsequence/assets to your readme.txt
scrollsequence/scrollsequence.php Passed 13 tests
The primary PHP file in "Scrollsequence - Cinematic Scroll Image Animation Plugin" version 1.4.5 is used by WordPress to initiate all plugin functionality
114 characters long description:
Create stunning image animation that play and rewind on scroll. Make your website come alive with just few clicks.
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected71,149 lines of code in 574 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 285 | 10,997 | 25,896 | 44,190 |
JavaScript | 179 | 7,264 | 11,296 | 17,078 |
PO File | 33 | 1,869 | 2,545 | 5,277 |
CSS | 22 | 262 | 1,176 | 2,299 |
Sass | 49 | 365 | 3 | 1,868 |
JSON | 3 | 0 | 0 | 369 |
Markdown | 3 | 24 | 0 | 68 |
PHP code 50% from 2 tests
A short review of cyclomatic complexity and code structure
These items need your attention
- Class cyclomatic complexity should be reduced to less than 1000 (currently 3,073)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.54 |
Average class complexity | 30.96 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,073.00 |
Average method complexity | 3.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 24 | |
Interfaces | 5 | |
Traits | 0 | |
Classes | 184 | |
▷ Abstract classes | 13 | 7.07% |
▷ Concrete classes | 171 | 92.93% |
▷ Final classes | 2 | 1.17% |
Methods | 2,270 | |
▷ Static methods | 314 | 13.83% |
▷ Public methods | 1,703 | 75.02% |
▷ Protected methods | 184 | 8.11% |
▷ Private methods | 383 | 16.87% |
Functions | 205 | |
▷ Named functions | 123 | 60.00% |
▷ Anonymous functions | 82 | 40.00% |
Constants | 185 | |
▷ Global constants | 104 | 56.22% |
▷ Class constants | 81 | 43.78% |
▷ Public constants | 81 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
7 compressed PNG files occupy 0.34MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/select-images.png | 36.82KB | 36.83KB | 0.00% |
admin/img/animation.png | 5.50KB | 5.50KB | 0.00% |
includes/freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
admin/img/add-new-scrollsequence-images.png | 23.97KB | 23.98KB | 0.00% |
admin/img/add-content.png | 224.59KB | 224.51KB | 0.03% |