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
Install script ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼2.09ms] Passed 4 tests
A check of server-side resources used by JTPP Share Buttons
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 40.99 ▼4.28 |
Dashboard /wp-admin | 3.36 ▲0.06 | 46.80 ▼0.84 |
Posts /wp-admin/edit.php | 3.47 ▲0.12 | 49.02 ▲1.32 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 88.16 ▼4.57 |
Media Library /wp-admin/upload.php | 3.28 ▲0.06 | 34.47 ▲1.52 |
JTPP Share Buttons /wp-admin/options-general.php?page=jtpp_share_buttons | 3.25 | 30.42 |
Server storage [IO: ▲0.05MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by JTPP Share Buttons
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲49 | 13.19 ▼1.46 | 1.59 ▼0.41 | 37.97 ▼5.75 |
Dashboard /wp-admin | 2,207 ▲19 | 4.88 ▼1.00 | 93.17 ▼15.05 | 39.76 ▼0.91 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.00 ▼0.04 | 40.65 ▼3.46 | 35.12 ▼5.04 |
Add New Post /wp-admin/post-new.php | 1,539 ▲6 | 23.24 ▲0.01 | 681.20 ▲77.57 | 60.91 ▲2.72 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.25 ▲0.04 | 96.76 ▲1.89 | 39.97 ▼0.73 |
JTPP Share Buttons /wp-admin/options-general.php?page=jtpp_share_buttons | 876 | 2.03 | 27.47 | 31.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
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)
The smoke test was a success, however most plugin functionality was not tested
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
Congratulations! This plugin passed the SRP test
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 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Screenshot #1 (screenshot-1.png) image not found
jtpp-share-buttons/jtpp-share-buttons.php Passed 13 tests
This is the main PHP file of "JTPP Share Buttons" version 0.1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
82 characters long description:
You can display share-buttons at all of single posts and single pages very easily.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin583 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 29 | 28 | 268 |
CSS | 2 | 0 | 0 | 221 |
PO File | 1 | 24 | 27 | 72 |
SVG | 1 | 0 | 0 | 22 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 35.00 |
▷ Minimum class complexity | 35.00 |
▷ Maximum class complexity | 35.00 |
Average method complexity | 9.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 16 | |
▷ Named functions | 15 | 93.75% |
▷ Anonymous functions | 1 | 6.25% |
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
There were not PNG files found in your plugin