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.38MB] [CPU: ▼1.44ms] Passed 4 tests
Analyzing server-side resources used by Pixelavo - Facebook Pixel Conversion API / Server Side Tracking
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.80 ▲0.34 | 35.84 ▼3.25 |
Dashboard /wp-admin | 3.73 ▲0.38 | 50.80 ▼7.89 |
Posts /wp-admin/edit.php | 3.78 ▲0.42 | 47.76 ▲5.31 |
Add New Post /wp-admin/post-new.php | 6.32 ▲0.43 | 97.06 ▲4.61 |
Media Library /wp-admin/upload.php | 3.59 ▲0.36 | 35.99 ▲0.77 |
Server storage [IO: ▲2.66MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 45 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
pixelavo_events |
Browser metrics Passed 4 tests
Checking browser requirements for Pixelavo - Facebook Pixel Conversion API / Server Side Tracking
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,822 ▲75 | 14.46 ▲0.18 | 1.64 ▼0.08 | 36.04 ▼7.17 |
Dashboard /wp-admin | 2,218 ▲40 | 5.49 ▼0.18 | 100.55 ▼13.17 | 49.32 ▲6.67 |
Posts /wp-admin/edit.php | 2,132 ▲32 | 1.99 ▼0.04 | 40.35 ▲0.85 | 37.91 ▲5.13 |
Add New Post /wp-admin/post-new.php | 1,554 ▲23 | 23.37 ▲0.62 | 605.69 ▼79.12 | 53.86 ▼2.72 |
Media Library /wp-admin/upload.php | 1,435 ▲41 | 4.15 ▼0.06 | 99.99 ▲5.19 | 42.38 ▲1.59 |
Events /wp-admin/admin.php?page=pixelavo#/events | 1,272 | 6.70 | 123.54 | 68.88 |
Settings /wp-admin/admin.php?page=pixelavo#/settings | 1,718 | 7.82 | 115.67 | 50.27 |
Custom Events /wp-admin/admin.php?page=pixelavo#/custom_events | 1,379 | 7.31 | 106.33 | 49.21 |
Pixels /wp-admin/admin.php?page=pixelavo#/pixels | 1,327 | 7.14 | 97.81 | 49.25 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- pixelavo_events
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/pixelavo/admin/settings-panel/includes/templates/settings-page.php
- 8× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Warning
Use of undefined constant PIXELAVO_INCLUDES - assumed 'PIXELAVO_INCLUDES' (this will throw an Error in a future version of PHP) in wp-content/plugins/pixelavo/admin/settings-panel/includes/classes/Api/Settings.php on line 8
- > PHP Warning
include(): Failed opening 'PIXELAVO_INCLUDES/templates/sidebar-banner.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/pixelavo/admin/settings-panel/includes/templates/settings-page.php on line 4
- > PHP Warning
include(PIXELAVO_INCLUDES/templates/sidebar-banner.php): failed to open stream: No such file or directory in wp-content/plugins/pixelavo/admin/settings-panel/includes/templates/settings-page.php on line 4
- > PHP Warning
Use of undefined constant PIXELAVO_INCLUDES - assumed 'PIXELAVO_INCLUDES' (this will throw an Error in a future version of PHP) in wp-content/plugins/pixelavo/admin/settings-panel/includes/templates/settings-page.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'WP_REST_Controller' not found in wp-content/plugins/pixelavo/admin/settings-panel/includes/classes/Api.php:9
- > PHP Fatal error
require_once(): Failed opening required 'PIXELAVO_INCLUDES/classes/Admin/Options_field.php' (include_path='.:/usr/share/php') in wp-content/plugins/pixelavo/admin/settings-panel/includes/classes/Api/Settings.php on line 8
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/pixelavo/admin/settings-panel/includes/templates/sidebar-banner.php:5
- > PHP Warning
require_once(PIXELAVO_INCLUDES/classes/Admin/Options_field.php): failed to open stream: No such file or directory in wp-content/plugins/pixelavo/admin/settings-panel/includes/classes/Api/Settings.php on line 8
- > PHP Warning
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please take a look at the following user-side issues
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=pixelavo#/pixels
- > Console-api (warning) in unknown
webpack://pixelavo-options/./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js? 5156:16 "Feature flags __VUE_OPTIONS_API__, __VUE_PROD_DEVTOOLS__ are not explicitly defined. You are running the esm-bundler build of Vue, which expects these compile-time feature flags to be globally injected via the bundler config in order to get better tree-shaking in the production bundle.\n\nFor more details, see https://link.vuejs.org/feature-flags."
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 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
Attributes that require attention:
- Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
pixelavo/pixelavo.php Passed 13 tests
The principal PHP file in "Pixelavo - Facebook Pixel Conversion API / Server Side Tracking" v. 1.0.6 is loaded by WordPress automatically on each request
95 characters long description:
Add facebook pixel to your website to track the actions people take when they interact with it.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected4,070 lines of code in 34 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 287 | 568 | 1,845 |
CSS | 4 | 272 | 44 | 1,207 |
JavaScript | 8 | 572 | 649 | 998 |
SVG | 5 | 0 | 0 | 20 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 14.62 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 41.00 |
Average method complexity | 3.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 2 | 16.67% |
Methods | 80 | |
▷ Static methods | 7 | 8.75% |
▷ Public methods | 73 | 91.25% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 8.75% |
Functions | 21 | |
▷ Named functions | 20 | 95.24% |
▷ Anonymous functions | 1 | 4.76% |
Constants | 13 | |
▷ Global constants | 13 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
5 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/settings-panel/assets/images/icons/caret-up.png | 0.17KB | 0.15KB | ▼ 13.48% |
admin/settings-panel/assets/images/icons/check.png | 2.01KB | 0.26KB | ▼ 86.87% |
admin/settings-panel/assets/images/icons/pro-badge.png | 3.16KB | 1.97KB | ▼ 37.53% |
admin/settings-panel/assets/images/icons/caret-down.png | 0.19KB | 0.15KB | ▼ 20.21% |
admin/settings-panel/assets/images/icons/customer-service.png | 2.25KB | 2.05KB | ▼ 8.93% |