Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼1.81ms] Passed 4 tests
Server-side resources used by Smart External Link Click Monitor [Link Log]
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 40.08 ▼1.33 |
Dashboard /wp-admin | 3.36 ▲0.06 | 45.68 ▼3.69 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 52.78 ▲11.59 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 84.87 ▼5.06 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 39.81 ▲2.85 |
link-log /wp-admin/options-general.php?page=link-log-settings | 3.26 | 30.95 |
/wp-admin/admin.php?page=link-log-gdpr | 3.25 | 30.39 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 18 new files
Database: 2 new tables, 10 new options
New tables |
---|
wp_linklog |
wp_linklog_descriptions |
New WordPress options |
---|
swcc_linklog_gdpr_compliant |
pp-link-log-admin-notice-2-start |
swcc_linklog_version |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
pp-link-log-admin-notice-1-start |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Smart External Link Click Monitor [Link Log]
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲61 | 13.24 ▼1.12 | 1.54 ▼0.61 | 37.56 ▼10.17 |
Dashboard /wp-admin | 2,224 ▲33 | 4.85 ▼0.99 | 116.90 ▲8.40 | 42.58 ▲1.12 |
Posts /wp-admin/edit.php | 2,107 ▲18 | 2.03 ▼0.02 | 44.69 ▲3.82 | 36.10 ▼1.09 |
Add New Post /wp-admin/post-new.php | 1,548 ▲6 | 23.31 ▲5.10 | 636.50 ▲24.44 | 50.87 ▼9.75 |
Media Library /wp-admin/upload.php | 1,409 ▲18 | 4.25 ▲0.04 | 97.71 ▼5.37 | 42.10 ▼4.11 |
link-log /wp-admin/options-general.php?page=link-log-settings | 966 | 2.04 | 29.01 | 40.99 |
/wp-admin/admin.php?page=link-log-gdpr | 765 | 2.07 | 23.88 | 21.95 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie WordPress options were found after uninstall: 9 options
- widget_recent-posts
- widget_theysaidso_widget
- pp-link-log-admin-notice-2-start
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- pp-link-log-admin-notice-1-start
- widget_recent-comments
- swcc_linklog_version
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function status_header() in wp-content/plugins/link-log/uninstall.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
8 plugin tags: visitor tracking, click counting, log, link analytics, click...
link-log/link-log.php Passed 13 tests
This is the main PHP file of "Smart External Link Click Monitor [Link Log]" version 5.0.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
24 characters long description:
Log external link clicks
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
Success! There were no dangerous files found in this plugin1,103 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 486 | 364 | 949 |
CSS | 3 | 28 | 0 | 143 |
JavaScript | 1 | 2 | 0 | 11 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 69.00 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 126.00 |
Average method complexity | 2.97 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 70 | |
▷ Static methods | 1 | 1.43% |
▷ Public methods | 64 | 91.43% |
▷ Protected methods | 2 | 2.86% |
▷ Private methods | 4 | 5.71% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/gdpr.png | 2.39KB | 1.90KB | ▼ 20.42% |
assets/img/pluginicon.png | 1.60KB | 1.10KB | ▼ 31.12% |