Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.05MB] [CPU: ▼140.24ms] Passed 4 tests
Analyzing server-side resources used by Mitm Bug Tracker
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.87 ▲0.15 | 40.33 ▲17.20 |
Dashboard /wp-admin | 3.11 ▲0.06 | 48.66 ▼3.29 |
Posts /wp-admin/edit.php | 3.16 ▲0.06 | 50.09 ▲7.58 |
Add New Post /wp-admin/post-new.php | 5.48 ▲0.04 | 95.83 ▼555.50 |
Media Library /wp-admin/upload.php | 3.06 ▲0.05 | 32.82 ▼9.76 |
Add New OS /wp-admin/admin.php?page=mitm_bugtracker_os_add | 3.02 | 31.08 |
Bugtracker /wp-admin/admin.php?page=mitm_bugtracker_view | 3.06 | 32.57 |
Members /wp-admin/admin.php?page=mitm_bugtracker_member_view | 3.05 | 28.52 |
Add New Member /wp-admin/admin.php?page=mitm_bugtracker_member_add | 3.02 | 31.77 |
Add New Bug /wp-admin/admin.php?page=mitm_bugtracker_add | 3.05 | 30.57 |
Operating System /wp-admin/admin.php?page=mitm_bugtracker_os_view | 3.05 | 31.79 |
Browser /wp-admin/admin.php?page=mitm_bugtracker_browser_view | 3.05 | 31.44 |
Add New Browser /wp-admin/admin.php?page=mitm_bugtracker_browser_add | 3.02 | 33.17 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 11 new files
Database: 4 new tables, no new options
New tables |
---|
wp_mitm_member |
wp_mitm_browser |
wp_mitm_bug_tracker |
wp_mitm_os |
Browser metrics Passed 4 tests
Checking browser requirements for Mitm Bug Tracker
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,770 ▲174 | 15.87 ▲0.37 | 9.26 ▼0.80 | 48.05 ▲1.58 |
Dashboard /wp-admin | 3,032 ▲101 | 6.03 ▼0.03 | 141.43 ▼5.28 | 127.36 ▲11.05 |
Posts /wp-admin/edit.php | 2,823 ▲84 | 2.70 ▲0.01 | 65.34 ▼0.85 | 93.48 ▲0.55 |
Add New Post /wp-admin/post-new.php | 1,649 ▲149 | 18.49 ▼0.13 | 407.77 ▲7.34 | 111.83 ▼20.97 |
Media Library /wp-admin/upload.php | 1,820 ▲72 | 5.00 ▼0.02 | 134.45 ▼18.12 | 142.76 ▲8.72 |
Add New OS /wp-admin/admin.php?page=mitm_bugtracker_os_add | 1,140 | 2.09 | 54.21 | 77.41 |
Bugtracker /wp-admin/admin.php?page=mitm_bugtracker_view | 1,364 | 2.05 | 58.26 | 71.20 |
Members /wp-admin/admin.php?page=mitm_bugtracker_member_view | 1,282 | 2.08 | 55.82 | 65.61 |
Add New Member /wp-admin/admin.php?page=mitm_bugtracker_member_add | 1,128 | 2.09 | 54.42 | 79.39 |
Add New Bug /wp-admin/admin.php?page=mitm_bugtracker_add | 1,345 | 2.10 | 57.57 | 74.24 |
Operating System /wp-admin/admin.php?page=mitm_bugtracker_os_view | 1,282 | 2.06 | 59.54 | 69.88 |
Browser /wp-admin/admin.php?page=mitm_bugtracker_browser_view | 1,282 | 2.09 | 56.57 | 69.50 |
Add New Browser /wp-admin/admin.php?page=mitm_bugtracker_browser_add | 1,125 | 2.09 | 56.52 | 81.10 |
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
- This plugin does not fully uninstall, leaving 4 tables in the database
- wp_mitm_bug_tracker
- wp_mitm_browser
- wp_mitm_member
- wp_mitm_os
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=mitm_bugtracker_os_add
- > Notice in wp-content/plugins/mitm-bug-tracker/mitm_bugtracker_os_add.php+26
Undefined variable: os_name
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=mitm_bugtracker_view
- > Notice in wp-content/plugins/mitm-bug-tracker/mitm_bugtracker_view.php+104
Undefined index: bug
- > GET request to /wp-admin/admin.php?page=mitm_bugtracker_member_add
- > Notice in wp-content/plugins/mitm-bug-tracker/mitm_bugtracker_member_add.php+24
Undefined variable: member_name
- > GET request to /wp-admin/admin.php?page=mitm_bugtracker_add
- > Notice in wp-content/plugins/mitm-bug-tracker/mitm_bugtracker_add.php+44
Undefined variable: bt_project_name
- > GET request to /wp-admin/admin.php?page=mitm_bugtracker_add
- > Notice in wp-content/plugins/mitm-bug-tracker/mitm_bugtracker_add.php+48
Undefined variable: bt_url
- > GET request to /wp-admin/admin.php?page=mitm_bugtracker_add
- > Notice in wp-content/plugins/mitm-bug-tracker/mitm_bugtracker_add.php+54
Undefined variable: bt_desc
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=mitm_bugtracker_add
- > Notice in wp-content/plugins/mitm-bug-tracker/mitm_bugtracker_add.php+111
Undefined variable: bt_priority
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=mitm_bugtracker_add
- > Notice in wp-content/plugins/mitm-bug-tracker/mitm_bugtracker_add.php+119
Undefined variable: bt_fixed
- > GET request to /wp-admin/admin.php?page=mitm_bugtracker_browser_add
- > Notice in wp-content/plugins/mitm-bug-tracker/mitm_bugtracker_browser_add.php+24
Undefined variable: browser_name
SRP 0% 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 take a closer look at the following
- 3× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/mitm-bug-tracker/mitm_bugtracker_os_add.php
- > /wp-content/plugins/mitm-bug-tracker/mitm_bugtracker_browser_add.php
- > /wp-content/plugins/mitm-bug-tracker/mitm_bugtracker_member_add.php
- 17× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/mitm-bug-tracker/mitm_bugtracker_view.php on line 12
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/mitm-bug-tracker/mitm_bugtracker_browser_view.php on line 12
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/mitm-bug-tracker/mitm_bugtracker_member_view.php on line 3
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/mitm-bug-tracker/mitm_bugtracker_view.php on line 12
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/mitm-bug-tracker/mitm_bugtracker_add.php:18
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/mitm-bug-tracker/mitm_bugtracker_browser_view.php on line 12
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/mitm-bug-tracker/mitm_bugtracker_os_view.php on line 3
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/mitm-bug-tracker/mitm_bugtracker_os_view.php on line 3
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/mitm-bug-tracker/mitm_bugtracker_browser_view.php on line 12
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/mitm-bug-tracker/mitm_bugtracker_view.php on line 12
- > PHP Warning
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
These are user-side errors you should fix
- 8 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=mitm_bugtracker_browser_add
- > Network (severe)
wp-content/plugins/mitm-bugtracker/icon.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Donate link: Invalid URI ("")
mitm-bug-tracker/mitm-bugtracker.php 92% from 13 tests
The main PHP file in "Mitm Bug Tracker" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("mitm-bug-tracker.php" instead of "mitm-bugtracker.php")
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
Good job! No executable or dangerous file extensions detected935 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 130 | 65 | 935 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 10.80 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 2.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 47 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 47 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
icon.png | 0.77KB | 0.84KB | 0.00% |