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.08MB] [CPU: ▼2.56ms] Passed 4 tests
Analyzing server-side resources used by Simple URL Tracker - By Projekt15
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 37.70 ▼3.83 |
Dashboard /wp-admin | 3.37 ▲0.07 | 47.11 ▼4.00 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 51.09 ▼3.93 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 98.40 ▲1.53 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 37.33 ▲2.60 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Simple URL Tracker - By Projekt15
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,887 ▲116 | 13.99 ▼0.30 | 4.58 ▲2.76 | 41.08 ▼1.43 |
Dashboard /wp-admin | 2,204 ▲13 | 5.85 ▲0.04 | 109.83 ▲0.65 | 39.34 ▼1.40 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 1.99 ▲0.00 | 40.27 ▲3.55 | 34.97 ▼2.30 |
Add New Post /wp-admin/post-new.php | 6,353 ▲4,839 | 26.17 ▲8.73 | 880.89 ▲210.89 | 64.75 ▲6.06 |
Media Library /wp-admin/upload.php | 1,389 ▲1 | 4.22 ▲0.03 | 101.98 ▼12.35 | 45.53 ▼0.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/simple-url-tracker/public/partials/simple-track-public-display.php
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_permalink() in wp-content/plugins/simple-url-tracker/admin/partials/simple-track-admin-display.php:59
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-url-tracker/admin/class-simple-track-admin.php:122
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Screenshots: Please add images for these screenshots: #1 (Field Options. screenshot1.jpg), #2 (Generated Link screenshot2.jpg)
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
- Screenshots: These screenshots lack descriptions #0, #0 in simple-url-tracker/assets to your readme.txt
simple-url-tracker/simple-track.php 85% from 13 tests
Analyzing the main PHP file in "Simple URL Tracker - By Projekt15" version 1.0.0
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("simple-url-tracker.php" instead of "simple-track.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin303 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 150 | 543 | 297 |
JavaScript | 2 | 8 | 27 | 6 |
CSS | 2 | 0 | 11 | 0 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 1.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.13 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 23 | |
▷ Static methods | 2 | 8.70% |
▷ Public methods | 18 | 78.26% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 21.74% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
No PNG images were found in this plugin