Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼6.68ms] Passed 4 tests
This is a short check of server-side resources used by Add Follow Button For Pintrest
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 41.93 ▲2.24 |
Dashboard /wp-admin | 3.37 ▲0.02 | 45.54 ▼13.70 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 42.58 ▼4.98 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 81.53 ▼10.27 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 37.32 ▲2.56 |
Configure /wp-admin/admin.php?page=weblizar_add_pinterest_config | 3.26 | 31.48 |
Pinterest Follow /wp-admin/admin.php?page=weblizar_pinterest_plug | 3.26 | 30.13 |
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, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_weblizar_pf |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is 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 / | 2,895 ▲134 | 13.47 ▼0.88 | 10.36 ▲8.62 | 43.88 ▼5.47 |
Dashboard /wp-admin | 2,218 ▲43 | 5.61 ▼0.13 | 96.08 ▼17.74 | 42.52 ▼2.68 |
Posts /wp-admin/edit.php | 2,123 ▲23 | 2.01 ▼0.01 | 34.66 ▼3.01 | 31.46 ▼3.50 |
Add New Post /wp-admin/post-new.php | 1,550 ▲24 | 23.13 ▼0.14 | 666.92 ▲25.73 | 54.55 ▲1.04 |
Media Library /wp-admin/upload.php | 1,420 ▲17 | 4.22 ▼0.03 | 105.22 ▲9.38 | 44.58 ▼1.07 |
Configure /wp-admin/admin.php?page=weblizar_add_pinterest_config | 2,170 | 25.16 | 785.41 | 110.87 |
Pinterest Follow /wp-admin/admin.php?page=weblizar_pinterest_plug | 813 | 2.00 | 24.72 | 33.70 |
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 7 options in the database
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_weblizar_pf
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration Passed 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
6 plugin tags: pinterest follow profile, follow, pinterest follow, pinterest, pinterest follow button...
add-pinterest-follow-button/add-pinterest-follow-button.php Passed 13 tests
The entry point to "Add Follow Button For Pintrest" version 1.3.5 is a PHP file that has certain tags in its header comment area
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 | A short review of files and their extensions; it is not recommended to include executable files
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
This is a very shot review 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% |