Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼14.25ms] Passed 4 tests
Analyzing server-side resources used by WXY Tools Stickyscroll
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 46.25 ▲3.10 |
Dashboard /wp-admin | 3.33 ▼0.01 | 47.83 ▼18.89 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 54.43 ▼2.13 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 87.25 ▼37.89 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 37.94 ▲1.92 |
WXY Tools Stickyscroll /wp-admin/options-general.php?page=wxy_tools_stickyscroll_settings_page | 3.23 | 34.28 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by WXY Tools Stickyscroll
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲39 | 14.24 ▼0.11 | 1.71 ▼0.06 | 44.23 ▲1.40 |
Dashboard /wp-admin | 2,203 ▲26 | 5.53 ▼0.00 | 89.41 ▼9.65 | 40.71 ▼7.43 |
Posts /wp-admin/edit.php | 2,111 ▲8 | 1.99 ▼0.03 | 36.85 ▼2.10 | 33.06 ▼9.47 |
Add New Post /wp-admin/post-new.php | 1,538 ▲12 | 23.15 ▼0.27 | 598.65 ▼72.01 | 56.76 ▲0.40 |
Media Library /wp-admin/upload.php | 1,411 ▲11 | 4.24 ▲0.01 | 100.16 ▼10.84 | 47.20 ▼3.13 |
WXY Tools Stickyscroll /wp-admin/options-general.php?page=wxy_tools_stickyscroll_settings_page | 1,013 | 5.75 | 164.98 | 58.22 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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 items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/wxy-tools-stickyscroll/options/wxy-tools-stickyscroll-options-page.php
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/wxy-tools-stickyscroll/wxy-tools-stickyscroll.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== wxy-tools-stickyscroll ===
) - Donate link: Please fix this invalid URI: ""
wxy-tools-stickyscroll/wxy-tools-stickyscroll.php 92% from 13 tests
The entry point to "WXY Tools Stickyscroll" version 0.0.5 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 255 characters long)
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
Everything looks great! No dangerous files found in this plugin540 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 198 | 311 | 381 |
PHP | 2 | 59 | 81 | 159 |
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 | 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 | 8 | |
▷ Named functions | 8 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin