Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
You still need to fix the following installer errors
- Install procedure had errors
- > Deprecated in wp-content/plugins/wp-responsive-scrolling-notification/wp-responsive-scrolling-notification.php+25
Methods with the same name as their class will not be constructors in a future version of PHP; WP_R_S_N has a deprecated constructor
Server metrics [RAM: ▼1.71MB] [CPU: ▼50.07ms] Passed 4 tests
Analyzing server-side resources used by WP Responsive Scrolling Notification
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.27 ▼1.19 | 4.30 ▼33.59 |
Dashboard /wp-admin | 2.29 ▼1.01 | 9.88 ▼42.15 |
Posts /wp-admin/edit.php | 2.29 ▼1.06 | 7.93 ▼40.58 |
Add New Post /wp-admin/post-new.php | 2.29 ▼3.59 | 5.99 ▼83.96 |
Media Library /wp-admin/upload.php | 2.29 ▼0.93 | 6.91 ▼28.99 |
Notification /wp-admin/options-general.php?page=wprsn-notify | 2.30 | 6.21 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 16 new files
Database: no new tables, 8 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
wprsn_setting |
can_compress_scripts |
wprsn_notify_content |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Responsive Scrolling Notification
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,977 ▲220 | 15.03 ▲0.68 | 1.69 ▼0.22 | 39.74 ▼4.40 |
Dashboard /wp-admin | 2,374 ▲186 | 6.73 ▲0.88 | 132.60 ▲33.29 | 44.27 ▲0.36 |
Posts /wp-admin/edit.php | 2,289 ▲203 | 3.65 ▲1.66 | 58.81 ▲23.50 | 34.90 ▼4.08 |
Add New Post /wp-admin/post-new.php | 1,548 ▲29 | 23.37 ▲0.04 | 661.28 ▼9.50 | 37.20 ▼17.87 |
Media Library /wp-admin/upload.php | 1,422 ▲31 | 4.56 ▲0.39 | 85.31 ▼16.75 | 41.82 ▼4.16 |
Notification /wp-admin/options-general.php?page=wprsn-notify | 1,567 | 3.56 | 63.84 | 27.79 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/wp-responsive-scrolling-notification/wp-responsive-scrolling-notification.php+25
Methods with the same name as their class will not be constructors in a future version of PHP; WP_R_S_N has a deprecated constructor
- The uninstall procedure has failed, leaving 8 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- wprsn_notify_content
- wprsn_setting
- can_compress_scripts
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=wprsn-notify
- > Deprecated in wp-content/plugins/wp-responsive-scrolling-notification/wp-responsive-scrolling-notification.php+25
Methods with the same name as their class will not be constructors in a future version of PHP; WP_R_S_N has a deprecated constructor
- > GET request to /wp-admin/options-general.php?page=wprsn-notify
- > Warning in wp-content/plugins/wp-responsive-scrolling-notification/wp-responsive-scrolling-notification.php+353
Illegal string offset 'wprsn_s_image'
- 57 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wprsn-notify
- > Notice in wp-content/plugins/wp-responsive-scrolling-notification/wp-responsive-scrolling-notification.php+439
Uninitialized string offset: 0
- > GET request to /wp-admin/options-general.php?page=wprsn-notify
- > Warning in wp-content/plugins/wp-responsive-scrolling-notification/wp-responsive-scrolling-notification.php+354
Illegal string offset 'wprsn_s_imagewidth'
- > GET request to /wp-admin/options-general.php?page=wprsn-notify
- > Warning in wp-content/plugins/wp-responsive-scrolling-notification/wp-responsive-scrolling-notification.php+355
Illegal string offset 'wprsn_s_imagetitle'
- > GET request to /wp-admin/options-general.php?page=wprsn-notify
- > Warning in wp-content/plugins/wp-responsive-scrolling-notification/wp-responsive-scrolling-notification.php+356
Illegal string offset 'wprsn_s_float'
- > GET request to /wp-admin/options-general.php?page=wprsn-notify
- > Warning in wp-content/plugins/wp-responsive-scrolling-notification/wp-responsive-scrolling-notification.php+357
Illegal string offset 'wprsn_s_imagelink'
- 29 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wprsn-notify
- > Warning in wp-content/plugins/wp-responsive-scrolling-notification/wp-responsive-scrolling-notification.php+430
Illegal string offset 'wprsn_s_easein'
- > GET request to /wp-admin/options-general.php?page=wprsn-notify
- > Notice in wp-content/plugins/wp-responsive-scrolling-notification/wp-responsive-scrolling-notification.php+432
Undefined variable: output
- 23 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wprsn-notify
- > Warning in wp-content/plugins/wp-responsive-scrolling-notification/wp-responsive-scrolling-notification.php+439
Illegal string offset 'wprsn_s_easeout'
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
4 plugin tags: post type order, post order, admin posts order, custom order
wp-responsive-scrolling-notification/wp-responsive-scrolling-notification.php 92% from 13 tests
The principal PHP file in "WP Responsive Scrolling Notification" v. 1.0 is loaded by WordPress automatically on each request
The following require your attention:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 197 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
No dangerous file extensions were detected3,888 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 462 | 15 | 2,949 |
PHP | 1 | 38 | 8 | 432 |
JavaScript | 5 | 41 | 31 | 340 |
PO File | 2 | 65 | 66 | 167 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 23.00 |
▷ Minimum class complexity | 23.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 3.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/close.png | 2.77KB | 1.24KB | ▼ 55.33% |