Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The following installer errors require your attention
- This plugin did not install gracefully
- > Notice in wp-content/plugins/simple-click-tracker-lite/app/Sct_Admin.php+8
Constant SCT_SITE_PATH already defined
Server metrics [RAM: ▼1.27MB] [CPU: ▼43.47ms] Passed 4 tests
An overview of server-side resources used by Simple Click Tracker Lite
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.44 ▼1.02 | 5.86 ▼32.25 |
Dashboard /wp-admin | 2.83 ▼0.47 | 17.76 ▼31.72 |
Posts /wp-admin/edit.php | 2.83 ▼0.52 | 21.90 ▼29.02 |
Add New Post /wp-admin/post-new.php | 2.83 ▼3.06 | 17.78 ▼80.90 |
Media Library /wp-admin/upload.php | 2.83 ▼0.40 | 16.25 ▼21.35 |
Server storage [IO: ▲2.62MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 143 new files
Database: 9 new tables, 7 new options
New tables |
---|
wp_sct_domain |
wp_sct_user_join |
wp_sct_funnel_link |
wp_sct_funnel_link_new |
wp_sct_click |
wp_sct_link |
wp_sct_404_log |
wp_sct_funnel |
wp_sct_group |
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
rlm_version_simple_click_tracker |
Browser metrics Passed 4 tests
A check of browser resources used by Simple Click Tracker Lite
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,091 ▲330 | 15.60 ▲1.22 | 6.83 ▲4.97 | 38.46 ▼5.42 |
Dashboard /wp-admin | 2,372 ▲192 | 6.38 ▲0.76 | 103.99 ▲15.77 | 39.21 ▼4.85 |
Posts /wp-admin/edit.php | 2,303 ▲203 | 3.50 ▲1.53 | 54.59 ▲17.96 | 35.06 ▲0.15 |
Add New Post /wp-admin/post-new.php | 1,550 ▲24 | 23.35 ▲0.17 | 595.38 ▼95.16 | 34.15 ▼22.42 |
Media Library /wp-admin/upload.php | 1,447 ▲44 | 4.40 ▲0.20 | 79.23 ▼24.25 | 42.09 ▼2.92 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 25% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/simple-click-tracker-lite/s3_click_tracker_functions.php+7
Undefined index: page
- Zombie tables detected upon uninstall: 9 tables
- wp_sct_user_join
- wp_sct_domain
- wp_sct_click
- wp_sct_group
- wp_sct_funnel_link_new
- wp_sct_funnel
- wp_sct_404_log
- wp_sct_link
- wp_sct_funnel_link
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- rlm_version_simple_click_tracker
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however 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
The following issues need your attention
- 3× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/simple-click-tracker-lite/app/sites/ajax/link_save.php
- > /wp-content/plugins/simple-click-tracker-lite/app/sites/public/views/settings.php
- > /wp-content/plugins/simple-click-tracker-lite/app/sites/public/views/unknown_user.php
- 37× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Cannot access self:: when no class scope is active in wp-content/plugins/simple-click-tracker-lite/app/sites/admin/views/settings.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function sanitize_text_field() in wp-content/plugins/simple-click-tracker-lite/app/sites/public/actions/group_quick_add.php:8
- > PHP Notice
Undefined index: redirect in wp-content/plugins/simple-click-tracker-lite/app/sites/ajax/redirect.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'Sct_Base' not found in wp-content/plugins/simple-click-tracker-lite/app/sites/public/snippets/summary_report.php:17
- > PHP Fatal error
Uncaught Error: Class 'Sct_Base' not found in wp-content/plugins/simple-click-tracker-lite/app/sites/public/actions/default.php:2
- > PHP Fatal error
Uncaught Error: Cannot access self:: when no class scope is active in wp-content/plugins/simple-click-tracker-lite/app/sites/public/actions/funnel_save.php:7
- > PHP Fatal error
Uncaught Error: Class 'Sct_Base' not found in wp-content/plugins/simple-click-tracker-lite/app/sites/public/snippets/nav.php:2
- > PHP Fatal error
Uncaught Error: Class 'Sct_Base' not found in wp-content/plugins/simple-click-tracker-lite/app/sites/public/views/group_grid.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function sanitize_text_field() in wp-content/plugins/simple-click-tracker-lite/app/sites/public/actions/link_save.php:5
- > PHP Fatal error
Uncaught Error: Class 'Sct_Base' not found in wp-content/plugins/simple-click-tracker-lite/app/sites/public/views/report_summary.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 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
Please fix the following attributes:
- Screenshots: Screenshot #1 (https://namstoolkit.com/pluginupdater/sct_screenshot/screen-1.png) image not found
simple-click-tracker-lite/simple_click_tracker.php 92% from 13 tests
The main file in "Simple Click Tracker Lite" v. 1.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("simple-click-tracker-lite.php" instead of "simple_click_tracker.php")
Code Analysis 5% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
It is important to fix the following items
- For security reasons, never distribute binary or executable files with your plugin
- .jar - Java Archive in Firefox, IE, Chrome, Safari
- ☣ wp-content/plugins/simple-click-tracker-lite/includes/tablesorter/build/js.jar
- .jar - Java Archive in Firefox, IE, Chrome, Safari
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 18 | 2,186 | 238 | 12,590 |
PHP | 41 | 399 | 94 | 5,492 |
JavaScript | 22 | 506 | 625 | 3,529 |
SVG | 1 | 0 | 0 | 229 |
HTML | 2 | 4 | 0 | 67 |
Markdown | 2 | 10 | 0 | 35 |
Ant | 1 | 5 | 3 | 18 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 34.33 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 84.00 |
Average method complexity | 3.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 41.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 70 | |
▷ Static methods | 67 | 95.71% |
▷ Public methods | 70 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 18 | |
▷ Named functions | 18 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 15 | |
▷ Global constants | 15 | 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
28 PNG files occupy 0.05MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/flexigrid/css/images/magnifier.png | 0.60KB | 0.60KB | 0.00% |
includes/icons/cog.png | 0.50KB | 0.83KB | 0.00% |
includes/icons/bricks.png | 0.81KB | 0.83KB | 0.00% |
includes/flexigrid/css/images/ddn.png | 0.11KB | 0.11KB | 0.00% |
includes/icons/arrow_up.png | 2.84KB | 0.17KB | ▼ 93.92% |