Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼7.90ms] Passed 4 tests
This is a short check of server-side resources used by Weblizar Pin It Button On Image Hover And Post
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 38.35 ▼4.31 |
Dashboard /wp-admin | 3.32 ▼0.02 | 45.00 ▼15.54 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 48.09 ▲1.73 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 88.03 ▼11.01 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.20 ▼0.73 |
Server storage [IO: ▲0.61MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 19 new files
Database: no new tables, 13 new options
New WordPress options |
---|
theysaidso_admin_options |
WL_Enable_Pinit_Post |
WL_Pinit_Btn_Size |
WL_Enable_Pinit_Page |
WL_Pinit_Btn_Design |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
WL_Pinit_Btn_Color |
db_upgraded |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Weblizar Pin It Button On Image Hover And Post
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,920 ▲173 | 15.06 ▲0.71 | 16.05 ▲14.25 | 43.49 ▼3.46 |
Dashboard /wp-admin | 2,214 ▲44 | 5.61 ▼0.04 | 86.68 ▼18.08 | 38.81 ▼0.45 |
Posts /wp-admin/edit.php | 2,119 ▲19 | 2.02 ▼0.09 | 38.60 ▼3.27 | 36.80 ▲0.51 |
Add New Post /wp-admin/post-new.php | 1,539 ▲13 | 23.20 ▼0.23 | 628.95 ▼81.76 | 50.85 ▼24.22 |
Media Library /wp-admin/upload.php | 1,416 ▲16 | 4.17 ▲0.05 | 98.21 ▼1.58 | 44.03 ▲1.41 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 13 options
- WL_Pinit_Btn_Design
- WL_Pinit_Btn_Color
- WL_Pinit_Btn_Size
- WL_Enable_Pinit_Post
- WL_Mobile_Status
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- WL_Pinit_Btn_On_Hover
- widget_theysaidso_widget
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/pinterest-pin-it-button-on-image-hover-and-post/pinterest-pin-It-button.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/pinterest-pin-it-button-on-image-hover-and-post/exclude-images.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/pinterest-pin-it-button-on-image-hover-and-post/settings.php:4
- > PHP Fatal error
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 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
4 plugin tags: pin images, pin it button, pin photo, pinterest
pinterest-pin-it-button-on-image-hover-and-post/pinterest-pin-It-button.php 92% from 13 tests
Analyzing the main PHP file in "Weblizar Pin It Button On Image Hover And Post" version 4.1
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("pinterest-pin-it-button-on-image-hover-and-post.php" instead of "pinterest-pin-It-button.php")
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 detected7,509 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 873 | 84 | 6,010 |
PHP | 4 | 56 | 49 | 790 |
PO File | 4 | 1,327 | 2,478 | 694 |
JavaScript | 2 | 1 | 12 | 15 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
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 | 16 | |
▷ Named functions | 16 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
There are no PNG files in this plugin