Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲3.13MB] [CPU: ▲21.70ms] Passed 4 tests
Server-side resources used by PixelYourSite - Your smart PIXEL (TAG) Manager
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 6.59 ▲3.13 | 61.14 ▲23.61 |
Dashboard /wp-admin | 6.43 ▲3.13 | 67.25 ▲18.57 |
Posts /wp-admin/edit.php | 6.48 ▲3.12 | 67.87 ▲23.72 |
Add New Post /wp-admin/post-new.php | 9.03 ▲3.13 | 110.48 ▲22.29 |
Media Library /wp-admin/upload.php | 6.36 ▲3.13 | 56.39 ▲22.31 |
Dashboard /wp-admin/admin.php?page=pixelyoursite | 6.60 | 51.80 |
UTM Builder /wp-admin/admin.php?page=pixelyoursite_utm | 6.34 | 48.54 |
System Report /wp-admin/admin.php?page=pixelyoursite_report | 6.34 | 47.60 |
Server storage [IO: ▲7.90MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 1,625 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
pys_core |
Browser metrics Passed 4 tests
A check of browser resources used by PixelYourSite - Your smart PIXEL (TAG) Manager
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,155 ▲394 | 13.85 ▼0.51 | 19.26 ▲17.65 | 15.27 ▼25.07 |
Dashboard /wp-admin | 2,424 ▲244 | 5.60 ▼0.06 | 87.59 ▲2.29 | 97.55 ▲58.95 |
Posts /wp-admin/edit.php | 2,351 ▲248 | 2.15 ▲0.12 | 40.07 ▲5.17 | 49.73 ▲11.22 |
Add New Post /wp-admin/post-new.php | 6,763 ▲5,237 | 22.79 ▼0.39 | 859.46 ▲210.49 | 50.53 ▼0.33 |
Media Library /wp-admin/upload.php | 1,641 ▲241 | 4.18 ▼0.01 | 99.46 ▼11.26 | 84.95 ▲37.74 |
Dashboard /wp-admin/admin.php?page=pixelyoursite | 6,194 | 2.46 | 56.22 | 89.54 |
UTM Builder /wp-admin/admin.php?page=pixelyoursite_utm | 1,205 | 2.21 | 32.16 | 57.13 |
System Report /wp-admin/admin.php?page=pixelyoursite_report | 1,258 | 2.22 | 30.92 | 52.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- pys_core
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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
- 5× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/pixelyoursite/vendor/glenscott/url-normalizer/test-client.php
- > /wp-content/plugins/pixelyoursite/modules/facebook/PYSServerEventHelper.php
- > /wp-content/plugins/pixelyoursite/modules/facebook/facebook-server-async-task.php
- > /wp-content/plugins/pixelyoursite/includes/views/html-popovers.php
- > /wp-content/plugins/pixelyoursite/modules/head_footer/views/html-variables-help.php
- 1374× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'PYS_PRO_GLOBAL\\PYS_PRO_GLOBAL\\FacebookAds\\Object\\AbstractCrudObject' not found in wp-content/plugins/pixelyoursite/vendor_prefix/facebook/php-business-sdk/src/FacebookAds/Object/CanvasTemplate.php:40
- > PHP Fatal error
Uncaught Error: Class 'PYS_PRO_GLOBAL\\FacebookAds\\Enum\\AbstractEnum' not found in wp-content/plugins/pixelyoursite/vendor_prefix/facebook/php-business-sdk/src/FacebookAds/Object/Fields/TargetingGeoLocationPlaceFields.php:38
- > PHP Fatal error
Uncaught Error: Class 'PYS_PRO_GLOBAL\\FacebookAds\\Enum\\AbstractEnum' not found in wp-content/plugins/pixelyoursite/vendor_prefix/facebook/php-business-sdk/src/FacebookAds/Object/Values/CommerceOrderStateValues.php:38
- > PHP Fatal error
Uncaught Error: Class 'PYS_PRO_GLOBAL\\FacebookAds\\Object\\AbstractObject' not found in wp-content/plugins/pixelyoursite/vendor_prefix/facebook/php-business-sdk/src/FacebookAds/Object/AdCampaignIssuesInfo.php:42
- > PHP Fatal error
Uncaught Error: Class 'PYS_PRO_GLOBAL\\FacebookAds\\Enum\\AbstractEnum' not found in wp-content/plugins/pixelyoursite/vendor_prefix/facebook/php-business-sdk/src/FacebookAds/Object/Fields/CommerceSettingsFields.php:38
- > PHP Fatal error
Uncaught Error: Class 'PYS_PRO_GLOBAL\\FacebookAds\\Object\\AbstractCrudObject' not found in wp-content/plugins/pixelyoursite/vendor_prefix/facebook/php-business-sdk/src/FacebookAds/Object/BusinessAssetGroup.php:46
- > PHP Fatal error
Uncaught Error: Class 'PYS_PRO_GLOBAL\\FacebookAds\\Enum\\AbstractEnum' not found in wp-content/plugins/pixelyoursite/vendor_prefix/facebook/php-business-sdk/src/FacebookAds/Object/Values/ProfileTypeValues.php:38
- > PHP Fatal error
Uncaught Error: Class 'PYS_PRO_GLOBAL\\FacebookAds\\Enum\\AbstractEnum' not found in wp-content/plugins/pixelyoursite/vendor_prefix/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdAsyncRequestSetNotificationModeValues.php:38
- > PHP Fatal error
Uncaught Error: Class 'PYS_PRO_GLOBAL\\FacebookAds\\Enum\\AbstractEnum' not found in wp-content/plugins/pixelyoursite/vendor_prefix/facebook/php-business-sdk/src/FacebookAds/Object/Fields/WhatsAppBusinessAccountFields.php:38
- > PHP Fatal error
Uncaught Error: Class 'PYS_PRO_GLOBAL\\FacebookAds\\Object\\AbstractObject' not found in wp-content/plugins/pixelyoursite/vendor_prefix/facebook/php-business-sdk/src/FacebookAds/Object/AdCampaignLearningStageInfo.php:42
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 83% 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:
- Tags: There are too many tags (16 tag instead of maximum 10)
pixelyoursite/facebook-pixel-master.php 69% from 13 tests
The main PHP script in "PixelYourSite - Your smart PIXEL (TAG) Manager" version 9.4.7.1 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("pixelyoursite.php" instead of "facebook-pixel-master.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Description: Please keep the plugin description shorter than 140 characters (currently 575 characters long)
- Requires at least: Required version must be the same as the one declared in readme.txt ("3.0.1" instead of "4.4")
Code Analysis 5% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Almost there! Just fix the following issues
- Do not include executable or dangerous files in your plugin
- .crt - Security Certificate in Firefox, IE, Chrome, Safari
- ☣ wp-content/plugins/pixelyoursite/vendor_prefix/facebook/php-business-sdk/fb_ca_chain_bundle.crt
- .crt - Security Certificate in Firefox, IE, Chrome, Safari
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1,576 | 17,585 | 54,650 | 92,903 |
SVG | 1 | 0 | 0 | 2,671 |
JavaScript | 8 | 564 | 213 | 2,268 |
JSON | 13 | 73 | 0 | 714 |
CSS | 3 | 7 | 34 | 272 |
Markdown | 3 | 60 | 0 | 136 |
XML | 1 | 0 | 0 | 14 |
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.18 |
Average class complexity | 4.07 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 193.00 |
Average method complexity | 1.94 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 63.00 |
Code structure | ||
---|---|---|
Namespaces | 40 | |
Interfaces | 41 | |
Traits | 6 | |
Classes | 1,475 | |
▷ Abstract classes | 11 | 0.75% |
▷ Concrete classes | 1,464 | 99.25% |
▷ Final classes | 39 | 2.66% |
Methods | 4,866 | |
▷ Static methods | 1,154 | 23.72% |
▷ Public methods | 4,090 | 84.05% |
▷ Protected methods | 548 | 11.26% |
▷ Private methods | 228 | 4.69% |
Functions | 343 | |
▷ Named functions | 214 | 62.39% |
▷ Anonymous functions | 129 | 37.61% |
Constants | 9,729 | |
▷ Global constants | 6 | 0.06% |
▷ Class constants | 9,723 | 99.94% |
▷ Public constants | 9,712 | 99.89% |
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
10 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
dist/images/facebook-small-square.png | 3.21KB | 1.46KB | ▼ 54.48% |
dist/images/microsoft-small-square.png | 0.26KB | 0.20KB | ▼ 21.59% |
dist/images/logo-original.png | 13.64KB | 7.24KB | ▼ 46.92% |
dist/images/google-ads-square-small.png | 4.01KB | 2.38KB | ▼ 40.56% |
dist/images/favicon.png | 0.48KB | 0.46KB | ▼ 5.45% |