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.03MB] [CPU: ▼1.32ms] Passed 4 tests
An overview of server-side resources used by Tipu Scroll To Top
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 43.63 ▲2.58 |
Dashboard /wp-admin | 3.33 ▲0.03 | 63.94 ▲9.13 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 52.37 ▲1.24 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 89.55 ▼4.66 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 32.54 ▼4.42 |
Scroll to Top /wp-admin/options-general.php?page=tipu_scroll_to_top | 3.28 | 34.76 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Tipu Scroll To Top: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,949 ▲203 | 13.69 ▼0.74 | 5.86 ▲3.99 | 43.64 ▼5.19 |
Dashboard /wp-admin | 2,232 ▲50 | 5.06 ▼0.84 | 111.45 ▲5.47 | 39.10 ▼2.44 |
Posts /wp-admin/edit.php | 2,123 ▲31 | 2.32 ▲0.33 | 40.09 ▲5.40 | 34.31 ▼0.38 |
Add New Post /wp-admin/post-new.php | 1,537 ▲17 | 23.30 ▲0.14 | 643.82 ▼42.49 | 34.81 ▼26.77 |
Media Library /wp-admin/upload.php | 1,417 ▲29 | 4.41 ▲0.19 | 108.86 ▲1.53 | 49.81 ▲2.78 |
Scroll to Top /wp-admin/options-general.php?page=tipu_scroll_to_top | 1,467 | 2.81 | 68.25 | 34.71 |
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
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
Please fix the following
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/tipu-scroll-to-top/settings-form.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/tipu-scroll-to-top/index.php:31
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 81% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
- Tags: Too many tags (17 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Requires at least: Invalid plugin version format
- Screenshots: Add images for these screenshots: #1 (The Settings Page.), #2 (Demo Page.)
tipu-scroll-to-top/index.php 92% from 13 tests
The main PHP file in "Tipu Scroll To Top" ver. 5.0 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("tipu-scroll-to-top.php" instead of "index.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
No dangerous file extensions were detected359 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 73 | 60 | 241 |
PO File | 2 | 34 | 40 | 99 |
JavaScript | 2 | 2 | 1 | 18 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.01 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 2 | 15.38% |
▷ Public methods | 13 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin