Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.61MB] [CPU: ▲1.38ms] Passed 4 tests
An overview of server-side resources used by Skytake - WordPress Email Marketing Plugin
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.01 ▲0.55 | 45.03 ▲2.98 |
Dashboard /wp-admin | 3.93 ▲0.63 | 52.12 ▼1.00 |
Posts /wp-admin/edit.php | 3.99 ▲0.63 | 52.54 ▲4.11 |
Add New Post /wp-admin/post-new.php | 6.51 ▲0.63 | 99.17 ▼0.32 |
Media Library /wp-admin/upload.php | 3.86 ▲0.63 | 40.31 ▲3.87 |
Campaigns /wp-admin/admin.php?page=skytake_campaigns | 3.98 | 43.17 |
Subscribers /wp-admin/admin.php?page=skytake_subscribers | 3.98 | 48.31 |
Documentation /wp-admin/admin.php?page=skytake_documentation | 3.88 | 41.89 |
Skytake Leads & Sales /wp-admin/admin.php?page=skytake | 3.98 | 42.78 |
Get Support /wp-admin/admin.php?page=skytake_support | 3.88 | 40.82 |
Server storage [IO: ▲1.54MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 193 new files
Database: 2 new tables, 8 new options
New tables |
---|
wp_skytake_emails |
wp_skytake_campaigns |
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_skytake_widget_output |
widget_recent-comments |
skytake_first_notice_hide |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Skytake - WordPress Email Marketing Plugin: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,835 ▲89 | 14.74 ▲0.12 | 1.74 ▼0.15 | 39.61 ▼8.05 |
Dashboard /wp-admin | 2,241 ▲49 | 5.86 ▲0.92 | 95.16 ▼22.80 | 43.43 ▼2.35 |
Posts /wp-admin/edit.php | 2,124 ▲35 | 2.02 ▼0.01 | 40.58 ▲5.85 | 34.67 ▲2.16 |
Add New Post /wp-admin/post-new.php | 6,378 ▲4,864 | 27.90 ▲10.36 | 817.63 ▲121.16 | 54.20 ▲3.61 |
Media Library /wp-admin/upload.php | 1,423 ▲35 | 4.24 ▲0.08 | 97.30 ▼11.80 | 41.56 ▼4.12 |
Campaigns /wp-admin/admin.php?page=skytake_campaigns | 1,288 | 3.55 | 57.28 | 61.98 |
Subscribers /wp-admin/admin.php?page=skytake_subscribers | 1,234 | 3.38 | 44.69 | 75.99 |
Documentation /wp-admin/admin.php?page=skytake_documentation | 1,196 | 2.86 | 23.95 | 80.66 |
Skytake Leads & Sales /wp-admin/admin.php?page=skytake | 1,291 | 3.36 | 47.92 | 79.20 |
Get Support /wp-admin/admin.php?page=skytake_support | 1,252 | 16.08 | 143.03 | 56.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- The uninstall procedure failed, leaving 2 tables in the database
- wp_skytake_campaigns
- wp_skytake_emails
- This plugin did not uninstall successfully, leaving 8 options in the database
- widget_recent-posts
- db_upgraded
- skytake_first_notice_hide
- widget_skytake_widget_output
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
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
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/skytake/index.php
- 109× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/skytake/inc/config.php:21
- > PHP Notice
Undefined variable: panel in wp-content/plugins/skytake/inc/views/editor/panel-settings/social-media.php on line 8
- > PHP Fatal error
require(): Failed opening required 'SKYTAKE_PATH/inc/campaigns/popup/views/frontend/form.php' (include_path='.:/usr/share/php') in wp-content/plugins/skytake/inc/campaigns/scroll-box/views/frontend/form.php on line 1
- > PHP Notice
Undefined variable: campaign in wp-content/plugins/skytake/inc/campaigns/panels-variables.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/skytake/inc/views/admin/buttons.php:1
- > PHP Notice
Undefined variable: is_editor_mode in wp-content/plugins/skytake/inc/campaigns/floating-bar/views/frontend/form.php on line 1
- > PHP Notice
Undefined variable: campaign in wp-content/plugins/skytake/inc/campaigns/panels-variables.php on line 7
- > PHP Fatal error
Uncaught Error: Class 'SKYT\\Campaign_UI' not found in wp-content/plugins/skytake/inc/campaigns/widget-form/class-widget-form.php:11
- > PHP Fatal error
Uncaught Error: Class 'Delabon\\WP\\List_Table' not found in wp-content/plugins/skytake/inc/class-subscriber-list-table.php:8
- > PHP Fatal error
Uncaught Error: Call to a member function setting() on null in wp-content/plugins/skytake/inc/campaigns/panels-variables.php:7
- > 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 errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 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
8 plugin tags: coupon, marketing, email marketing, lead, lead generation...
skytake/index.php 92% from 13 tests
The principal PHP file in "Skytake - WordPress Email Marketing Plugin" v. 0.34.0 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("skytake.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin13,201 lines of code in 127 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 86 | 1,992 | 1,678 | 7,267 |
CSS | 20 | 558 | 162 | 3,053 |
JavaScript | 16 | 763 | 388 | 2,010 |
SVG | 3 | 1 | 6 | 805 |
Markdown | 2 | 34 | 0 | 66 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 10.82 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 67.00 |
Average method complexity | 2.59 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 9 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 33 | |
▷ Abstract classes | 1 | 3.03% |
▷ Concrete classes | 32 | 96.97% |
▷ Final classes | 0 | 0.00% |
Methods | 205 | |
▷ Static methods | 49 | 23.90% |
▷ Public methods | 186 | 90.73% |
▷ Protected methods | 10 | 4.88% |
▷ Private methods | 9 | 4.39% |
Functions | 36 | |
▷ Named functions | 29 | 80.56% |
▷ Anonymous functions | 7 | 19.44% |
Constants | 11 | |
▷ Global constants | 10 | 90.91% |
▷ Class constants | 1 | 9.09% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
41 PNG files occupy 0.48MB with 0.09MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/templates/floating_bar/classic.png | 6.43KB | 2.98KB | ▼ 53.62% |
inc/skins/classic/img/fb-bg.png | 3.65KB | 2.24KB | ▼ 38.57% |
lib/delabon/wp/assets/img/ui-bg_glass_95_fef1ec_1x400.png | 0.11KB | 0.14KB | 0.00% |
lib/delabon/wp/assets/img/ui-bg_glass_65_ffffff_1x400.png | 0.08KB | 0.10KB | 0.00% |
lib/delabon/wp/assets/img/ui-icons_454545_256x240.png | 3.69KB | 4.18KB | 0.00% |