Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.07MB] [CPU: ▼3.83ms] Passed 4 tests
Server-side resources used by Wask Marketing
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 47.80 ▼1.85 |
Dashboard /wp-admin | 3.38 ▲0.07 | 50.48 ▼2.63 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 53.35 ▲4.31 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 86.81 ▼5.41 |
Media Library /wp-admin/upload.php | 3.31 ▲0.07 | 34.61 ▼5.41 |
Audience List /wp-admin/admin.php?page=audience_list | 3.30 | 35.41 |
Create Audience /wp-admin/admin.php?page=wask | 3.28 | 32.43 |
Facebook Pixel /wp-admin/admin.php?page=facebook_pixel | 3.29 | 31.58 |
Server storage [IO: ▲0.62MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Wask Marketing
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲68 | 14.80 ▲0.26 | 1.73 ▼0.20 | 43.37 ▲0.18 |
Dashboard /wp-admin | 2,235 ▲61 | 5.73 ▲0.16 | 98.43 ▼2.44 | 42.97 ▼3.14 |
Posts /wp-admin/edit.php | 2,140 ▲43 | 2.23 ▲0.26 | 40.41 ▲1.10 | 37.19 ▲0.87 |
Add New Post /wp-admin/post-new.php | 1,559 ▲33 | 23.09 ▼0.52 | 685.47 ▼13.72 | 67.76 ▲4.63 |
Media Library /wp-admin/upload.php | 1,443 ▲43 | 4.33 ▲0.12 | 100.51 ▼16.77 | 42.73 ▼6.01 |
Audience List /wp-admin/admin.php?page=audience_list | 855 | 1.92 | 27.11 | 29.63 |
Create Audience /wp-admin/admin.php?page=wask | 887 | 1.95 | 25.47 | 31.24 |
Facebook Pixel /wp-admin/admin.php?page=facebook_pixel | 855 | 1.98 | 27.33 | 30.99 |
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
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=facebook_pixel
- > Notice in wp-content/plugins/wask-marketing/include/activation.php+2
Undefined index: submit
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
Almost there! Just fix the following items
- 7× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wask-marketing/include/activation.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/wask-marketing/views/audience_list.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/wask-marketing/views/activation.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/wask-marketing/views/facebook_pixel.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/wask-marketing/views/create_audience.php:2
- > PHP Notice
Undefined index: submit in wp-content/plugins/wask-marketing/include/activation.php on line 2
- > PHP Notice
Undefined variable: activation in wp-content/plugins/wask-marketing/include/user.php on line 4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 97% 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
Attributes that require attention:
- Requires php: Invalid version format
wask-marketing/wask-marketing.php Passed 13 tests
This is the main PHP file of "Wask Marketing" version 1.23, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
115 characters long description:
This plugin is designed to create a lookalike audience and adds Facebook pixel - Google analytic code your website.
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
No dangerous file extensions were detected3,457 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 57 | 0 | 1,479 |
PHP | 7 | 159 | 27 | 991 |
JavaScript | 2 | 0 | 0 | 987 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 48.00 |
▷ Minimum class complexity | 48.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 4.13 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 15 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 14 | 93.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 6.67% |
Functions | 0 | |
▷ Named functions | 0 | 0.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