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.02MB] [CPU: ▼3.00ms] Passed 4 tests
A check of server-side resources used by TechGasp Pin Master
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 42.56 ▼0.08 |
Dashboard /wp-admin | 3.32 ▲0.02 | 46.04 ▼4.72 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 47.64 ▼1.06 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 87.14 ▼6.13 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.02 ▲0.33 |
Add-ons /wp-admin/admin.php?page=pinterest-master-admin-addons | 3.29 | 31.26 |
Pin Master /wp-admin/admin.php?page=pinterest-master | 3.25 | 30.44 |
Settings /wp-admin/admin.php?page=pinterest-master-admin-settings-wide | 3.31 | 44.70 |
Server storage [IO: ▲0.45MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 25 new files
Database: no new tables, 12 new options
New WordPress options |
---|
pinterest_master_system_wide_size_small |
widget_pinterest_master_widget_buttons |
pinterest_master_system_wide_shape_rectangular |
pinterest_master_system_wide |
pinterest_master_system_wide_size_large |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
pinterest_master_system_wide_shape_circular |
... |
Browser metrics Passed 4 tests
Checking browser requirements for TechGasp Pin Master
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,830 ▲95 | 13.31 ▼1.29 | 1.74 ▼0.02 | 43.22 ▼7.54 |
Dashboard /wp-admin | 2,239 ▲51 | 5.86 ▲0.97 | 99.16 ▼15.10 | 80.01 ▲33.03 |
Posts /wp-admin/edit.php | 2,122 ▲33 | 1.99 ▼0.02 | 35.34 ▲1.02 | 32.75 ▼2.89 |
Add New Post /wp-admin/post-new.php | 1,552 ▲18 | 23.27 ▲0.23 | 750.32 ▲147.62 | 58.78 ▲9.68 |
Media Library /wp-admin/upload.php | 1,409 ▲21 | 4.24 ▼0.03 | 96.24 ▼3.88 | 75.50 ▲28.16 |
Add-ons /wp-admin/admin.php?page=pinterest-master-admin-addons | 1,068 | 2.01 | 25.57 | 32.15 |
Pin Master /wp-admin/admin.php?page=pinterest-master | 1,777 | 8.22 | 198.07 | 80.18 |
Settings /wp-admin/admin.php?page=pinterest-master-admin-settings-wide | 1,017 | 2.06 | 22.67 | 30.08 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin did not uninstall successfully, leaving 12 options in the database
- theysaidso_admin_options
- pinterest_master_system_wide_size_large
- widget_pinterest_master_widget_buttons
- widget_recent-posts
- pinterest_master_system_wide
- can_compress_scripts
- pinterest_master_system_wide_size_small
- pinterest_master_system_wide_shape_circular
- pinterest_master_system_wide_shape_rectangular
- db_upgraded
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% from 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
The following issues need your attention
- 11× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function get_home_path() in wp-content/plugins/pinterest-master/includes/pinterest-master-admin-table-news.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_home_path() in wp-content/plugins/pinterest-master/includes/pinterest-master-admin-addons-table.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/pinterest-master/pinterest-master.php:52
- > PHP Fatal error
Uncaught Error: Call to undefined function is_multisite() in wp-content/plugins/pinterest-master/includes/pinterest-master-admin-settings-wide.php:49
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/pinterest-master/includes/pinterest-master-widget-buttons.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_home_path() in wp-content/plugins/pinterest-master/includes/pinterest-master-admin-settings-wide-table-options.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/pinterest-master/includes/pinterest-master-settings-wide.php:75
- > PHP Fatal error
Uncaught Error: Call to undefined function is_multisite() in wp-content/plugins/pinterest-master/includes/pinterest-master-admin-addons.php:38
- > PHP Fatal error
Uncaught Error: Call to undefined function get_home_path() in wp-content/plugins/pinterest-master/includes/pinterest-master-admin-table-header.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function is_multisite() in wp-content/plugins/pinterest-master/includes/pinterest-master-admin.php:9
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following browser errors
- > GET request to /wp-admin/admin.php?page=pinterest-master
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'ambient-light-sensor'.
- > GET request to /wp-admin/admin.php?page=pinterest-master
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'bluetooth'.
- > GET request to /wp-admin/admin.php?page=pinterest-master
- > Deprecation (warning) in unknown
https://static.xx.fbcdn.net/rsrc.php/v3/y-/r/e_Kj5Xrx7lO.js?_nc_x=Ij3Wp8lg5Kz 271 Listener added for a synchronous 'DOMSubtreeModified' DOM Mutation Event. This event type is deprecated (https://w3c.github.io/uievents/#legacy-event-types) and work is underway to remove it from this browser. Usage of this event listener will cause performance issues today, and represents a risk of future incompatibility. Consider using MutationObserver instead.
- > GET request to /wp-admin/admin.php?page=pinterest-master
- > Console-api (severe) in unknown
https://static.xx.fbcdn.net/rsrc.php/v3/y-/r/e_Kj5Xrx7lO.js?_nc_x=Ij3Wp8lg5Kz 60:573 "ErrorUtils caught an error:\n\nCannot listen to an undefined element. [Caught in: Tried to listen to element of type click]\n\nSubsequent non-fatal errors won't be logged; see https://fburl.com/debugjs."
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 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
These attributes need to be fixed:
- Tags: There are too many tags (12 tag instead of maximum 10)
pinterest-master/pinterest-master.php 92% from 13 tests
This is the main PHP file of "TechGasp Pin Master" version 5.1.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 142 characters long)
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 detected794 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 40 | 80 | 794 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 7.57 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 25.00 |
Average method complexity | 5.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 2 | 18.18% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 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
PNG files should be compressed to save space and minimize bandwidth usage
9 PNG files occupy 0.28MB with 0.14MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/techgasp-check-no.png | 21.14KB | 7.14KB | ▼ 66.23% |
images/techgasp-spammaster-logo.png | 174.42KB | 66.22KB | ▼ 62.04% |
images/techgasp-admin-addons-support.png | 15.84KB | 14.85KB | ▼ 6.26% |
images/techgasp-minilogo-16.png | 1.86KB | 0.92KB | ▼ 50.87% |
images/techgasp-check-yes.png | 22.22KB | 7.59KB | ▼ 65.83% |