Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.00MB] [CPU: ▼6.85ms] Passed 4 tests
An overview of server-side resources used by TsBig3 Secure Share-Buttons
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 36.64 ▲0.07 |
Dashboard /wp-admin | 3.31 ▼0.03 | 49.26 ▼17.79 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 51.05 ▲5.94 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 85.46 ▼12.56 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.22 ▲2.88 |
Server storage [IO: ▲0.07MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for TsBig3 Secure Share-Buttons
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.29 ▼0.37 | 1.79 ▲0.14 | 41.53 ▲1.75 |
Dashboard /wp-admin | 2,198 ▲18 | 5.59 ▼0.08 | 87.08 ▼8.32 | 37.18 ▲0.14 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.99 ▲0.04 | 36.31 ▼0.99 | 30.39 ▼2.46 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.57 ▲0.66 | 655.19 ▲23.74 | 60.68 ▲1.65 |
Media Library /wp-admin/upload.php | 1,397 ▼0 | 4.10 ▼0.09 | 104.75 ▼0.37 | 43.94 ▲2.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 50% 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)
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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
Please take a closer look at the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/tsbig3-secure-share-buttons/big3-social-privacy.php
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Notice
Undefined variable: permalink in wp-content/plugins/tsbig3-secure-share-buttons/big3-social-privacy-layout.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/tsbig3-secure-share-buttons/big3-social-privacy-layout.php:2
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
8 plugin tags: social-media, plus, share, button, google...
tsbig3-secure-share-buttons/big3-social-privacy.php 92% from 13 tests
The entry point to "TsBig3 Secure Share-Buttons" version 1.0.2 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("tsbig3-secure-share-buttons.php" instead of "big3-social-privacy.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 plugin54 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 6 | 0 | 28 |
PHP | 2 | 7 | 39 | 26 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.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 | 2 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 2 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
4 PNG files occupy 0.06MB with 0.03MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/facebook.png | 3.91KB | 1.50KB | ▼ 61.71% |
img/twitter.png | 4.10KB | 1.61KB | ▼ 60.76% |
img/google.png | 4.37KB | 1.66KB | ▼ 61.95% |
screenshot.png | 49.68KB | 28.16KB | ▼ 43.31% |