Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.17MB] [CPU: ▼297.43ms] Passed 4 tests
Analyzing server-side resources used by Site Spy
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.83 ▲0.31 | 65.14 ▲0.20 |
Dashboard /wp-admin | 3.62 ▲0.21 | 42.75 ▼2.99 |
Posts /wp-admin/edit.php | 3.91 ▼0.01 | 41.86 ▼14.42 |
Add New Post /wp-admin/post-new.php | 7.15 ▲0.18 | 101.51 ▼1,172.46 |
Media Library /wp-admin/upload.php | 3.57 ▲0.27 | 30.64 ▲0.15 |
User Event Type /wp-admin/admin.php?page=site-watch-user-event-type | 3.60 | 24.25 |
Intelligence /wp-admin/admin.php?page=site-watch-intelligence | 3.60 | 25.58 |
Page Trigger /wp-admin/admin.php?page=site-watch-page-trigger | 3.64 | 23.19 |
Contacts /wp-admin/admin.php?page=site-watch-people | 3.59 | 23.90 |
Support /wp-admin/admin.php?page=site-watch-support | 3.60 | 27.19 |
Click Trigger /wp-admin/admin.php?page=site-watch-click-trigger | 3.62 | 31.36 |
Dashboard /wp-admin/admin.php?page=site-watch | 3.60 | 46.19 |
Settings /wp-admin/admin.php?page=site-watch-settings | 3.60 | 25.72 |
List /wp-admin/admin.php?page=site-watch-list | 3.60 | 23.78 |
Form /wp-admin/admin.php?page=site-watch-form | 3.52 | 21.77 |
Server storage [IO: ▲2.39MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 172 new files
Database: 4 new tables, 1 new option
New tables |
---|
wp_easy_pie_ibc_public_ids |
wp_easy_pie_ibc_contacts |
wp_easy_pie_ibc_entities |
wp_easy_pie_ibc_events |
New WordPress options |
---|
easy-pie-ibc-options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Site Spy
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,932 ▲187 | 16.20 ▲0.88 | 12.27 ▲5.32 | 2.26 ▲0.02 |
Dashboard /wp-admin | 2,948 ▲87 | 6.17 ▼0.01 | 128.25 ▼6.92 | 193.12 ▲21.69 |
Posts /wp-admin/edit.php | 2,741 ▲53 | 3.24 ▼0.01 | 59.85 ▼6.55 | 144.03 ▼7.47 |
Add New Post /wp-admin/post-new.php | 1,652 ▼59 | 19.70 ▼2.52 | 431.51 ▼100.75 | 190.65 ▲9.76 |
Media Library /wp-admin/upload.php | 1,750 ▲52 | 5.55 ▲0.01 | 157.34 ▲0.24 | 231.10 ▲16.64 |
User Event Type /wp-admin/admin.php?page=site-watch-user-event-type | 1,232 | 2.48 | 52.21 | 214.64 |
Intelligence /wp-admin/admin.php?page=site-watch-intelligence | 1,320 | 2.64 | 52.51 | 114.08 |
Page Trigger /wp-admin/admin.php?page=site-watch-page-trigger | 1,399 | 3.14 | 56.78 | 239.16 |
Contacts /wp-admin/admin.php?page=site-watch-people | 1,676 | 2.50 | 55.32 | 123.29 |
Support /wp-admin/admin.php?page=site-watch-support | 1,243 | 2.62 | 53.64 | 183.03 |
Click Trigger /wp-admin/admin.php?page=site-watch-click-trigger | 1,320 | 3.08 | 57.26 | 261.51 |
Dashboard /wp-admin/admin.php?page=site-watch | 1,610 | 3.04 | 60.21 | 199.93 |
Settings /wp-admin/admin.php?page=site-watch-settings | 1,272 | 2.62 | 53.00 | 125.69 |
List /wp-admin/admin.php?page=site-watch-list | 1,255 | 2.62 | 54.23 | 203.05 |
Form /wp-admin/admin.php?page=site-watch-form | 1,011 | 2.77 | 53.25 | 72.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- The plugin did not uninstall successfully, leaving 4 tables in the database
- wp_easy_pie_ibc_public_ids
- wp_easy_pie_ibc_entities
- wp_easy_pie_ibc_contacts
- wp_easy_pie_ibc_events
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- 9 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=site-watch-list
- > User deprecated in wp-includes/functions.php+5326
screen_icon is deprecated since version 3.8.0 with no alternative available.
- 9 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=site-watch-list
- > User deprecated in wp-includes/functions.php+5326
get_screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/admin.php?page=site-watch-form
- > Warning in wp-includes/class-wp-hook.php+307
call_user_func_array() expects parameter 1 to be a valid callback, class 'EZP_IBC' does not have a method 'display_form_page'
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 83× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/site-watch/ui-components/class-ezp-ibc-contact-list-control.php on line 25
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/site-watch/classes/Utilities/class-ezp-ibc-u.php:47
- > PHP Fatal error
Uncaught Error: Class 'EZP_IBC_U' not found in wp-content/plugins/site-watch/pages/people/page-contact.php:23
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/site-watch/ui-components/class-ezp-ibc-event-list-control.php on line 25
- > PHP Fatal error
Uncaught Error: Class 'EZP_IBC_U' not found in wp-content/plugins/site-watch/pages/intelligence/page-intelligence-scoring-tab.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/site-watch/classes/Utilities/class-ezp-ibc-u.php:47
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/site-watch/ui-components/class-ezp-ibc-user-event-type-list-control.php on line 26
- > PHP Fatal error
Uncaught Error: Class 'EZP_IBC_U' not found in wp-content/plugins/site-watch/pages/people/page-contact-events-tab.php:23
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/site-watch/ui-components/class-ezp-ibc-page-trigger-list-control.php on line 26
- > PHP Fatal error
Uncaught Error: Class 'EZP_IBC_U' not found in wp-content/plugins/site-watch/classes/Entities/Form/class-ezp-ibc-form-field-entity.php:24
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following browser errors
- > GET request to /wp-admin/admin.php?page=site-watch
- > Network (severe)
wp-content/plugins/site-watch/js/dashboard/page-dashboard-start-here-tab.js?0.5.3 - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=site-watch-settings
- > Network (severe)
wp-content/plugins/site-watch/js/settings/page-settings-basic-tab.js?0.5.3 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Tags: Too many tags (14 tag instead of maximum 10); only the first 5 tags are used in your directory listing
site-watch/site-watch.php Passed 13 tests
The entry point to "Site Spy" version 0.5.3 is a PHP file that has certain tags in its header comment area
135 characters long description:
Tells you who's visiting your site and how valuable they are. Uses event tracking, lead capture and lead scoring. Supports WooCommerce.
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
Good job! No executable or dangerous file extensions detected19,962 lines of code in 131 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 71 | 3,011 | 3,005 | 9,486 |
JavaScript | 22 | 977 | 736 | 4,445 |
CSS | 10 | 56 | 127 | 2,996 |
Sass | 13 | 23 | 24 | 1,256 |
LESS | 13 | 23 | 33 | 1,247 |
SVG | 1 | 0 | 0 | 520 |
HTML | 1 | 2 | 0 | 12 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 10.19 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 100.00 |
Average method complexity | 2.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 55 | |
▷ Abstract classes | 12 | 21.82% |
▷ Concrete classes | 43 | 78.18% |
▷ Final classes | 0 | 0.00% |
Methods | 409 | |
▷ Static methods | 150 | 36.67% |
▷ Public methods | 356 | 87.04% |
▷ Protected methods | 1 | 0.24% |
▷ Private methods | 52 | 12.71% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 46 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 46 | 100.00% |
▷ Public constants | 46 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
32 PNG files occupy 0.52MB with 0.27MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
styles/jqueryui/1.11.2/themes/smoothness/images/ui-icons_454545_256x240.png | 6.83KB | 4.17KB | ▼ 38.86% |
styles/images/controls.png | 2.74KB | 1.42KB | ▼ 48.29% |
images/start-here/10-filter-by-external-links.png | 24.70KB | 10.00KB | ▼ 59.49% |
images/start-here/9-edit-list.png | 6.98KB | 3.27KB | ▼ 53.18% |
images/start-here/4-add-click-trigger.png | 25.74KB | 9.91KB | ▼ 61.51% |