Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼10.26ms] Passed 4 tests
This is a short check of server-side resources used by SC Scrollup - Extremely lightweight and customizable scroll to top plugin
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 36.08 ▼0.13 |
Dashboard /wp-admin | 3.33 ▼0.01 | 45.81 ▼18.08 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 41.64 ▼4.90 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 77.60 ▼17.52 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 36.21 ▼0.52 |
Scroll UP /wp-admin/options-general.php?page=scup-setting | 3.23 | 31.28 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for SC Scrollup - Extremely lightweight and customizable scroll to top plugin
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,914 ▲168 | 13.51 ▼1.11 | 9.61 ▲7.89 | 39.41 ▼1.59 |
Dashboard /wp-admin | 2,202 ▲25 | 5.62 ▼0.06 | 85.30 ▲0.25 | 40.98 ▼3.19 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.96 ▲0.00 | 34.35 ▲0.68 | 33.28 ▼4.05 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.24 ▲0.05 | 650.31 ▲7.86 | 59.19 ▲9.87 |
Media Library /wp-admin/upload.php | 1,404 ▲1 | 4.12 ▼0.00 | 108.03 ▼0.59 | 46.06 ▼2.49 |
Scroll UP /wp-admin/options-general.php?page=scup-setting | 979 | 2.02 | 23.00 | 39.10 |
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
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
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
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/sc-scrollup/inc/settings.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/sc-scrollup/sc-scrollup.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/sc-scrollup/inc/front.php:87
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following browser errors
- > GET request to /wp-admin/options-general.php?page=scup-setting
- > Rendering (warning) in unknown
/wp-admin/options-general.php?page=scup-setting 149 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Please a description for screenshot #2 in sc-scrollup/assets to your readme.txt
sc-scrollup/sc-scrollup.php 92% from 13 tests
The main PHP script in "SC Scrollup - Extremely lightweight and customizable scroll to top plugin" version 1.5 is automatically included on every request by WordPress
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 219 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin457 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 53 | 22 | 310 |
CSS | 1 | 8 | 4 | 115 |
JavaScript | 1 | 11 | 1 | 32 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 100.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 Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.06MB with 0.04MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/ucfw-banner.png | 61.10KB | 24.74KB | ▼ 59.50% |