Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
These installer errors require your attention
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/wp-simple-tracker/wp-simpletracker.php+14
Methods with the same name as their class will not be constructors in a future version of PHP; SimpleTracker has a deprecated constructor
Server metrics [RAM: ▼1.57MB] [CPU: ▼180.99ms] Passed 4 tests
An overview of server-side resources used by WP Simple Tracker
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.06 ▼0.66 | 9.47 ▼24.55 |
Dashboard /wp-admin | 2.07 ▼0.98 | 6.68 ▼32.40 |
Posts /wp-admin/edit.php | 2.08 ▼1.03 | 6.95 ▼34.59 |
Add New Post /wp-admin/post-new.php | 2.07 ▼3.36 | 5.96 ▼629.40 |
Media Library /wp-admin/upload.php | 2.07 ▼0.93 | 6.25 ▼27.58 |
Simple Tracker /wp-admin/options-general.php?page=wp-simpletracker | 2.08 | 5.49 |
Server storage [IO: ▲0.06MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 10 new files
Database: 6 new tables, 1 new option
New tables |
---|
wp_it_tracker |
wp_it_issue |
wp_it_starred |
wp_it_comment |
wp_it_type |
wp_it_status |
New WordPress options |
---|
simpletracker_version |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Simple Tracker
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,708 ▲112 | 15.81 ▼0.03 | 7.79 ▼0.22 | 50.03 ▲3.20 |
Dashboard /wp-admin | 2,978 ▲47 | 5.91 ▼0.32 | 138.17 ▼32.10 | 106.92 ▲3.77 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.69 ▲0.00 | 65.93 ▼1.62 | 95.10 ▲5.28 |
Add New Post /wp-admin/post-new.php | 1,673 ▲173 | 19.21 ▲0.48 | 378.35 ▲18.45 | 109.11 ▼4.34 |
Media Library /wp-admin/upload.php | 1,830 ▲23 | 5.02 ▼0.01 | 149.68 ▼20.51 | 124.81 ▲2.10 |
Simple Tracker /wp-admin/options-general.php?page=wp-simpletracker | 1,271 | 2.36 | 55.27 | 67.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 25% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin cannot be uninstalled
- > Deprecated in wp-content/plugins/wp-simple-tracker/wp-simpletracker.php+14
Methods with the same name as their class will not be constructors in a future version of PHP; SimpleTracker has a deprecated constructor
- Zombie tables detected upon uninstall: 6 tables
- wp_it_type
- wp_it_comment
- wp_it_starred
- wp_it_tracker
- wp_it_issue
- wp_it_status
- Zombie WordPress options were found after uninstall: 1 option
- simpletracker_version
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=wp-simpletracker
- > Deprecated in wp-content/plugins/wp-simple-tracker/wp-simpletracker.php+14
Methods with the same name as their class will not be constructors in a future version of PHP; SimpleTracker has a deprecated constructor
SRP 50% 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 take a closer look at the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/wp-simple-tracker/wp-simpletracker.php:902
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
2 plugin tags: tracker, issue tracker
wp-simple-tracker/wp-simpletracker.php 92% from 13 tests
"WP Simple Tracker" version 0.33's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wp-simple-tracker.php" instead of "wp-simpletracker.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin1,017 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 89 | 62 | 753 |
JavaScript | 3 | 29 | 127 | 239 |
CSS | 2 | 2 | 0 | 25 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 86.00 |
▷ Minimum class complexity | 86.00 |
▷ Maximum class complexity | 86.00 |
Average method complexity | 4.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 25 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 25 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin