Benchmarks
Plugin footprint 65% 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.85MB] [CPU: ▼35.25ms] Passed 4 tests
A check of server-side resources used by scrolling-social-sharebar
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 31.29 ▼10.85 |
Dashboard /wp-admin | 3.09 ▼0.21 | 25.84 ▼27.48 |
Posts /wp-admin/edit.php | 3.09 ▼0.27 | 24.11 ▼27.24 |
Add New Post /wp-admin/post-new.php | 3.09 ▼2.80 | 24.66 ▼75.42 |
Media Library /wp-admin/upload.php | 3.09 ▼0.14 | 26.23 ▼8.12 |
Scrolling Social Sharebar /wp-admin/options-general.php?page=scrollsharebar | 3.09 | 24.42 |
Server storage [IO: ▲0.03MB] [DB: ▲0.02MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for scrolling-social-sharebar
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,167 ▲432 | 19.78 ▲5.38 | 233.42 ▲231.63 | 57.33 ▲12.84 |
Dashboard /wp-admin | 2,213 ▲22 | 4.80 ▼0.04 | 97.92 ▼15.13 | 38.68 ▼8.95 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.01 ▼0.01 | 36.35 ▲0.72 | 38.43 ▲7.62 |
Add New Post /wp-admin/post-new.php | 1,539 ▲5 | 23.25 ▼0.01 | 663.63 ▼25.98 | 53.83 ▼3.48 |
Media Library /wp-admin/upload.php | 1,395 ▲4 | 4.25 ▲0.06 | 98.01 ▼9.41 | 40.18 ▼5.47 |
Scrolling Social Sharebar /wp-admin/options-general.php?page=scrollsharebar | 1,253 | 1.88 | 26.23 | 32.76 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 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
- This plugin did not uninstall without warnings or errors
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Almost there, just fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=scrollsharebar
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
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
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/scrolling-social-sharebar/scroll-sharebar.php:20
- > 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 user-side errors
- > GET request to /wp-admin/options-general.php?page=scrollsharebar
- > Network (severe)
https://techxt.com/sharebar_ad.png - Failed to load resource: net::ERR_BLOCKED_BY_RESPONSE.NotSameOrigin
- > GET request to /wp-admin/options-general.php?page=scrollsharebar
- > Network (severe)
https://secure-media-sf2p.facebook.com/ads3/creative/pressroom/jpg/b_1234209334_facebook_logo.jpg - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
- > GET request to /wp-admin/options-general.php?page=scrollsharebar
- > Network (severe)
http://a0.twimg.com/a/1303316982/images/twitter_logo_header.png - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare 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 (
=== scrolling-social-sharebar ===
) - Tags: Please delete some tags, you are using 13 tag instead of maximum 10
scrolling-social-sharebar/scroll-sharebar.php 85% from 13 tests
The principal PHP file in "scrolling-social-sharebar" v. 1.7.2 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Plugin Name: It is recommended to keep the plugin name shorter than 70 characters (currently 75 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("scrolling-social-sharebar.php" instead of "scroll-sharebar.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin422 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 39 | 11 | 422 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
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 | 12 | |
▷ Named functions | 12 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected