Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼305.14ms] Passed 4 tests
An overview of server-side resources used by Add Follow Button For Pintrest
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.08 | 76.75 ▼15.00 |
Dashboard /wp-admin | 3.48 ▲0.07 | 43.74 ▼4.58 |
Posts /wp-admin/edit.php | 3.70 ▲0.06 | 50.98 ▼9.87 |
Add New Post /wp-admin/post-new.php | 6.94 ▼0.03 | 120.81 ▼1,191.12 |
Media Library /wp-admin/upload.php | 3.35 ▲0.06 | 37.28 ▼4.12 |
Pinterest Follow /wp-admin/admin.php?page=weblizar_pinterest_plug | 3.32 | 31.83 |
Configure /wp-admin/admin.php?page=weblizar_add_pinterest_config | 3.32 | 29.91 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 10 new files
Database: no new tables, 1 new option
New WordPress options |
---|
widget_weblizar_pf |
Browser metrics Passed 4 tests
An overview of browser requirements for Add Follow Button For Pintrest
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,927 ▲173 | 16.29 ▲0.77 | 17.79 ▲0.27 | 4.01 ▼1.27 |
Dashboard /wp-admin | 2,943 ▲64 | 6.39 ▼0.00 | 189.48 ▼18.93 | 200.67 ▼38.81 |
Posts /wp-admin/edit.php | 2,713 ▲43 | 3.44 ▲0.00 | 85.02 ▼29.90 | 187.58 ▲10.21 |
Add New Post /wp-admin/post-new.php | 1,654 ▲60 | 17.75 ▼4.10 | 566.06 ▼133.05 | 196.96 ▼25.88 |
Media Library /wp-admin/upload.php | 1,723 ▲25 | 5.72 ▼0.01 | 190.79 ▲7.70 | 240.84 ▼15.66 |
Pinterest Follow /wp-admin/admin.php?page=weblizar_pinterest_plug | 1,041 | 2.57 | 68.42 | 170.63 |
Configure /wp-admin/admin.php?page=weblizar_add_pinterest_config | 709 | 2.58 | 40.53 | 114.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% 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 does not fully uninstall, leaving 1 option in the database
- widget_weblizar_pf
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following user-side errors
- > GET request to /wp-admin/admin.php?page=weblizar_add_pinterest_config
- > Network (severe)
wp-admin/widgets.php - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
6 plugin tags: pinterest follow profile, pinterest, follow, pinterest follow button, pinterest follow...
add-pinterest-follow-button/add-pinterest-follow-button.php Passed 13 tests
The principal PHP file in "Add Follow Button For Pintrest" v. 1.2.8 is loaded by WordPress automatically on each request
95 characters long description:
Pinterest follow button plugin give an ability to maximize your followers of Pinterest account.
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
Good job! No executable or dangerous file extensions detected573 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 68 | 3 | 368 |
PHP | 3 | 29 | 50 | 182 |
JavaScript | 2 | 0 | 0 | 23 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 4 | 44.44% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/plus.PNG | 0.23KB | 0.16KB | ▼ 31.36% |