Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.80MB] [CPU: ▼27.10ms] Passed 4 tests
A check of server-side resources used by remarketable
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.16 ▼0.30 | 31.71 ▼11.59 |
Dashboard /wp-admin | 3.21 ▼0.09 | 35.45 ▼12.50 |
Posts /wp-admin/edit.php | 3.21 ▼0.14 | 33.18 ▼19.26 |
Add New Post /wp-admin/post-new.php | 3.21 ▼2.67 | 30.59 ▼65.04 |
Media Library /wp-admin/upload.php | 3.21 ▼0.01 | 33.36 ▼7.95 |
remarketable /wp-admin/options-general.php?page=nsa_wpfbp_settings | 3.21 | 32.37 |
Server storage [IO: ▲2.70MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 322 new files
Database: no new tables, 7 new options
New WordPress options |
---|
nsa_wpfbp_first_activate_date |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for remarketable
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,921 ▲135 | 13.50 ▼1.04 | 9.47 ▲6.85 | 43.62 ▲3.62 |
Dashboard /wp-admin | 2,242 ▲62 | 5.69 ▲0.02 | 93.22 ▲2.60 | 49.53 ▲8.71 |
Posts /wp-admin/edit.php | 2,144 ▲44 | 2.07 ▲0.09 | 42.64 ▲2.54 | 37.98 ▼1.60 |
Add New Post /wp-admin/post-new.php | 6,428 ▲4,902 | 26.09 ▲3.08 | 905.73 ▲207.83 | 62.94 ▲7.01 |
Media Library /wp-admin/upload.php | 1,444 ▲47 | 4.25 ▲0.04 | 103.17 ▲3.63 | 46.58 ▲1.24 |
remarketable /wp-admin/options-general.php?page=nsa_wpfbp_settings | 1,045 | 2.26 | 26.18 | 41.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/wp-facebook-pixel/wp-facebook-pixel.php+184
Trying to access array offset on value of type bool
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- nsa_wpfbp_first_activate_date
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=nsa_wpfbp_settings
- > Notice in wp-content/plugins/wp-facebook-pixel/wp-facebook-pixel.php+185
Trying to access array offset on value of type bool
SRP 50% 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
Please fix the following items
- 6× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wp-facebook-pixel/framework/PluginOptions.php:4
- > PHP Notice
Trying to get property 'plugin_root_dir_url' of non-object in wp-content/plugins/wp-facebook-pixel/inc/support.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-facebook-pixel/inc/CMB2/init.php:119
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-facebook-pixel/framework/MetaBox.php:110
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/wp-facebook-pixel/inc/support.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-facebook-pixel/assets/NSAFaceBookPixel.php:25
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
wp-facebook-pixel/wp-facebook-pixel.php Passed 13 tests
"remarketable" version 5.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
97 characters long description:
(Formerly WP Facebook Pixel) Simply the most feature rich re-marketing pixel and tag plugin ever!
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected45,032 lines of code in 174 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 119 | 12,731 | 16,335 | 29,151 |
CSS | 10 | 2,046 | 2,050 | 8,645 |
PHP | 23 | 1,557 | 2,737 | 4,532 |
Sass | 11 | 174 | 23 | 1,931 |
JavaScript | 11 | 204 | 141 | 773 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 34.41 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 130.00 |
Average method complexity | 3.72 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 21 | |
▷ Abstract classes | 1 | 4.76% |
▷ Concrete classes | 20 | 95.24% |
▷ Final classes | 0 | 0.00% |
Methods | 270 | |
▷ Static methods | 23 | 8.52% |
▷ Public methods | 254 | 94.07% |
▷ Protected methods | 10 | 3.70% |
▷ Private methods | 6 | 2.22% |
Functions | 41 | |
▷ Named functions | 30 | 73.17% |
▷ Anonymous functions | 11 | 26.83% |
Constants | 7 | |
▷ Global constants | 3 | 42.86% |
▷ Class constants | 4 | 57.14% |
▷ Public constants | 4 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
15 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/CMB2/images/ui-bg_flat_0_aaaaaa_40x100.png | 0.18KB | 0.08KB | ▼ 51.67% |
inc/CMB2/images/ui-icons_222222_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
inc/CMB2/images/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.10KB | 0.17KB | 0.00% |
inc/CMB2/images/ui-bg_flat_75_ffffff_40x100.png | 0.17KB | 0.08KB | ▼ 51.12% |
inc/images/newtab.png | 0.30KB | 0.35KB | 0.00% |