Benchmarks
Plugin footprint 65% 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.17MB] [CPU: ▼171.04ms] Passed 4 tests
This is a short check of server-side resources used by Plain Social Sharing Buttons
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.97 ▲0.25 | 36.58 ▲14.43 |
Dashboard /wp-admin | 3.23 ▲0.17 | 55.39 ▲4.76 |
Posts /wp-admin/edit.php | 3.28 ▲0.17 | 47.60 ▲9.58 |
Add New Post /wp-admin/post-new.php | 5.59 ▲0.16 | 99.74 ▼685.11 |
Media Library /wp-admin/upload.php | 3.17 ▲0.17 | 30.50 ▼13.39 |
Plain Social Sharing Buttons /wp-admin/options-general.php?page=plain_social_sharing | 3.14 | 30.08 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 12 new files
Database: no new tables, 1 new option
New WordPress options |
---|
_ccPlainSocial |
Browser metrics Passed 4 tests
Plain Social Sharing Buttons: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,717 ▲121 | 15.88 ▲0.30 | 11.41 ▼0.47 | 54.73 ▲5.42 |
Dashboard /wp-admin | 2,975 ▲41 | 5.88 ▼0.20 | 170.14 ▲24.13 | 131.93 ▲16.57 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.72 ▼0.00 | 78.14 ▲9.84 | 102.36 ▲17.93 |
Add New Post /wp-admin/post-new.php | 1,686 ▲186 | 18.79 ▲0.21 | 395.39 ▲24.14 | 108.59 ▼15.80 |
Media Library /wp-admin/upload.php | 1,753 ▼57 | 5.00 ▼0.03 | 158.03 ▼1.49 | 126.26 ▼0.12 |
Plain Social Sharing Buttons /wp-admin/options-general.php?page=plain_social_sharing | 1,924 | 2.31 | 58.70 | 108.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/plain-social-sharing-buttons/uninstall.php+44
Undefined variable: cc_plain_social_settings
- Zombie WordPress options were found after uninstall: 1 option
- _ccPlainSocial
Smoke tests Passed 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)
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 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
9 plugin tags: social floating bar, social sharing, page facebook share, social media share, social share bar...
plain-social-sharing-buttons/cc-plain-social-shares.php 92% from 13 tests
"Plain Social Sharing Buttons" version 0.6.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("plain-social-sharing-buttons.php" instead of "cc-plain-social-shares.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin2,821 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 875 | 238 | 1,458 |
CSS | 2 | 143 | 0 | 686 |
JavaScript | 2 | 577 | 1 | 677 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
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 | 41 | |
▷ Named functions | 41 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin