Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲2.26MB] [CPU: ▲17.77ms] Passed 4 tests
This is a short check of server-side resources used by Track, Analyze & Optimize by WP Tao
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.50 ▲2.04 | 71.51 ▲20.27 |
Dashboard /wp-admin | 5.71 ▲2.36 | 76.30 ▲14.97 |
Posts /wp-admin/edit.php | 5.76 ▲2.40 | 75.94 ▲26.39 |
Add New Post /wp-admin/post-new.php | 8.22 ▲2.33 | 111.24 ▲9.71 |
Media Library /wp-admin/upload.php | 5.54 ▲2.31 | 66.01 ▲26.14 |
Dashboard /wp-admin/admin.php?page=wtbp-wptao | 5.74 | 92.71 |
Identified /wp-admin/admin.php?page=wtbp-wptao-users | 5.55 | 61.96 |
Events /wp-admin/admin.php?page=wtbp-wptao-events | 5.64 | 71.04 |
Settings /wp-admin/admin.php?page=wtbp-wptao-settings | 5.54 | 63.19 |
WP Tao Upgrades /wp-admin/admin.php?page=wtbp-wptao-upgrades | 5.54 | 61.10 |
Server storage [IO: ▲16.85MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 2,180 new files
Database: 7 new tables, 17 new options
New tables |
---|
wp_wptao_users_tags |
wp_wptao_users |
wp_wptao_events_meta |
wp_wptao_events_tags |
wp_wptao_fingerprints |
wp_wptao_events |
wp_wptao_users_meta |
New WordPress options |
---|
wp_wptao_fingerprints_db_version |
can_compress_scripts |
wptao_settings |
widget_recent-comments |
db_upgraded |
wp_wptao_users_db_version |
wptao_version |
wp_wptao_events_meta_db_version |
wptao_currency_set |
wp_wptao_users_tags_db_version |
... |
Browser metrics Passed 4 tests
Track, Analyze & Optimize by WP Tao: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,080 ▲334 | 15.45 ▲0.79 | 5.26 ▲3.49 | 45.15 ▲7.25 |
Dashboard /wp-admin | 2,397 ▲209 | 6.89 ▲0.99 | 129.31 ▲22.99 | 100.43 ▲55.07 |
Posts /wp-admin/edit.php | 2,315 ▲226 | 3.84 ▲1.84 | 51.08 ▲14.49 | 72.54 ▲37.05 |
Add New Post /wp-admin/post-new.php | 1,732 ▲207 | 22.81 ▲5.23 | 652.32 ▼21.21 | 36.85 ▼25.33 |
Media Library /wp-admin/upload.php | 1,445 ▲57 | 4.64 ▲0.41 | 88.66 ▼24.34 | 85.83 ▲38.41 |
Dashboard /wp-admin/admin.php?page=wtbp-wptao | 1,381 | 3.86 | 60.28 | 72.01 |
Identified /wp-admin/admin.php?page=wtbp-wptao-users | 1,249 | 3.41 | 46.21 | 80.29 |
Events /wp-admin/admin.php?page=wtbp-wptao-events | 1,677 | 3.61 | 53.56 | 118.61 |
Settings /wp-admin/admin.php?page=wtbp-wptao-settings | 1,394 | 3.65 | 51.52 | 86.02 |
WP Tao Upgrades /wp-admin/admin.php?page=wtbp-wptao-upgrades | 2,367 | 6.49 | 94.58 | 91.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie tables were found after uninstall: 7 tables
- wp_wptao_fingerprints
- wp_wptao_events_meta
- wp_wptao_events_tags
- wp_wptao_users_tags
- wp_wptao_users_meta
- wp_wptao_events
- wp_wptao_users
- This plugin does not fully uninstall, leaving 17 options in the database
- widget_recent-comments
- wp_wptao_events_meta_db_version
- can_compress_scripts
- wptao_completed_upgrades
- wp_wptao_users_db_version
- wp_wptao_fingerprints_db_version
- theysaidso_admin_options
- wptao_version
- wp_wptao_events_tags_db_version
- wp_wptao_users_tags_db_version
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
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
Please fix the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/wp-tao/includes/admin/views/html-admin-hint.php
- 70× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/wp-tao/includes/admin/views/html-admin-user-edit.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wp-tao/includes/mods/popups/includes/admin/settings.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-tao/includes/events/search.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-tao/includes/admin/views/elements/datepicker.php:44
- > PHP Fatal error
Uncaught Error: Class 'WTBP_WPTAO_Tags' not found in wp-content/plugins/wp-tao/includes/class-wptao-events-tags.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-tao/includes/admin/views/reports/frequency-search.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-tao/includes/admin/views/reports/basic-user-register.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-tao/includes/admin/views/reports/basic-traffic-sources.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-tao/includes/admin/views/reports/basic-user-identified-contacts.php:8
- > PHP Fatal error
Uncaught Error: Interface 'libphonenumber\\MetadataLoaderInterface' not found in wp-content/plugins/wp-tao/includes/libs/libphonenumber/DefaultMetadataLoader.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
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 (25 tag instead of maximum 10); only the first 5 tags are used in your directory listing
wp-tao/wp-tao.php Passed 13 tests
"Track, Analyze & Optimize by WP Tao" version 1.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
114 characters long description:
WP Tracker and Optimizer is an intuitive and powerful tool for tracking website visitors by small business owners.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin523,667 lines of code in 2,146 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2,133 | 7,411 | 14,487 | 518,402 |
PO File | 3 | 1,185 | 1,740 | 2,852 |
CSS | 6 | 216 | 47 | 1,971 |
JavaScript | 4 | 188 | 93 | 442 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 23.26 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 332.00 |
Average method complexity | 3.32 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 41.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 3 | |
Traits | 0 | |
Classes | 78 | |
▷ Abstract classes | 2 | 2.56% |
▷ Concrete classes | 76 | 97.44% |
▷ Final classes | 2 | 2.63% |
Methods | 781 | |
▷ Static methods | 87 | 11.14% |
▷ Public methods | 636 | 81.43% |
▷ Protected methods | 57 | 7.30% |
▷ Private methods | 88 | 11.27% |
Functions | 74 | |
▷ Named functions | 73 | 98.65% |
▷ Anonymous functions | 1 | 1.35% |
Constants | 143 | |
▷ Global constants | 29 | 20.28% |
▷ Class constants | 114 | 79.72% |
▷ Public constants | 114 | 100.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
25 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/jquery-ui/ui-icons_ef8c08_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
assets/images/red.png | 0.21KB | 0.11KB | ▼ 47.93% |
assets/images/wptao-ico-16.png | 0.48KB | 0.61KB | 0.00% |
assets/images/jquery-ui/ui-bg_highlight-soft_100_eeeeee_1x100.png | 0.27KB | 0.14KB | ▼ 47.84% |
assets/images/wptao-logo.png | 3.44KB | 3.02KB | ▼ 12.30% |