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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼3.03ms] Passed 4 tests
An overview of server-side resources used by Contact and social sticky bar
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 44.10 ▲0.78 |
Dashboard /wp-admin | 3.35 ▲0.05 | 50.51 ▼7.36 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 46.67 ▲0.33 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 85.91 ▼3.28 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 33.68 ▼1.82 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Contact and social sticky bar
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲68 | 14.73 ▲0.34 | 1.80 ▲0.09 | 44.02 ▼0.19 |
Dashboard /wp-admin | 2,221 ▲33 | 5.86 ▲0.93 | 104.42 ▼14.77 | 43.77 ▼0.12 |
Posts /wp-admin/edit.php | 2,104 ▲12 | 2.01 ▲0.02 | 38.51 ▲0.49 | 32.74 ▼3.85 |
Add New Post /wp-admin/post-new.php | 1,538 ▲10 | 23.08 ▼0.01 | 662.31 ▼20.96 | 49.42 ▼5.19 |
Media Library /wp-admin/upload.php | 1,400 ▲18 | 4.25 ▲0.06 | 100.60 ▼10.70 | 45.35 ▼0.25 |
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
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/contact-and-social-sticky-bar/callbacks.php
- > /wp-content/plugins/contact-and-social-sticky-bar/contact-and-social-sticky-bar.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% 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
These attributes need to be fixed:
- Requires php: The plugin version is formatted incorrectly
contact-and-social-sticky-bar/contact-and-social-sticky-bar.php Passed 13 tests
"Contact and social sticky bar" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
111 characters long description:
This plugin will display a responsive, sticky bar at the top of your website with the information you provided.
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
Everything looks great! No dangerous files found in this plugin367 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 25 | 9 | 230 |
JavaScript | 1 | 7 | 0 | 58 |
Sass | 2 | 7 | 0 | 47 |
CSS | 2 | 5 | 2 | 32 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
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 | 14 | |
▷ Named functions | 14 | 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
No PNG files were detected