Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.19MB] [CPU: ▼292.99ms] Passed 4 tests
Analyzing server-side resources used by Gravitate QA Tracker
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.79 ▲0.28 | 56.22 ▲5.44 |
Dashboard /wp-admin | 3.63 ▲0.22 | 32.91 ▼0.00 |
Posts /wp-admin/edit.php | 3.85 ▲0.21 | 37.20 ▼0.49 |
Add New Post /wp-admin/post-new.php | 7.09 ▲0.12 | 95.05 ▼1,170.33 |
Media Library /wp-admin/upload.php | 3.51 ▲0.21 | 24.29 ▼1.15 |
Gravitate QA Tracker /wp-admin/options-general.php?page=gravitate_qa_tracker | 3.47 | 22.42 |
Server storage [IO: ▲0.72MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 28 new files
Database: no new tables, 1 new option
New WordPress options |
---|
gravitate_qa_tracker_settings |
Browser metrics Passed 4 tests
Checking browser requirements for Gravitate QA Tracker
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,754 ▲12 | 15.94 ▲0.23 | 6.37 ▲0.21 | 2.29 ▲0.34 |
Dashboard /wp-admin | 2,879 ▲24 | 6.14 ▼0.05 | 121.93 ▼14.24 | 167.04 ▲6.57 |
Posts /wp-admin/edit.php | 2,696 ▲5 | 3.23 ▼0.01 | 63.26 ▼0.16 | 138.40 ▼6.07 |
Add New Post /wp-admin/post-new.php | 1,664 ▲3 | 16.65 ▲0.17 | 397.56 ▼11.73 | 160.51 ▼2.35 |
Media Library /wp-admin/upload.php | 1,703 ▲5 | 5.53 ▲0.07 | 144.89 ▼2.00 | 186.38 ▼9.12 |
Gravitate QA Tracker /wp-admin/options-general.php?page=gravitate_qa_tracker | 1,202 | 2.42 | 53.90 | 113.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 1 option in the database
- gravitate_qa_tracker_settings
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Almost there! Just fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/gravitate-qa-tracker/gravitate-qa-tracker.php
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Notice
Only variables should be passed by reference in wp-content/plugins/gravitate-qa-tracker/html2canvasproxy.php on line 61
- > PHP Warning
file_get_contents(): Filename cannot be empty in wp-content/plugins/gravitate-qa-tracker/html2canvasproxy.php on line 88
- > PHP Notice
Undefined index: url in wp-content/plugins/gravitate-qa-tracker/html2canvasproxy.php on line 76
- > PHP Warning
finfo_file(): Empty filename or path in wp-content/plugins/gravitate-qa-tracker/html2canvasproxy.php on line 67
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
3 plugin tags: qa tracker, issues, gravitate
gravitate-qa-tracker/gravitate-qa-tracker.php Passed 13 tests
This is the main PHP file of "Gravitate QA Tracker" version 1.2.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
65 characters long description:
This is Plugin allows you and your users to Track Website issues.
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 detected10,148 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 13 | 1,314 | 1,230 | 7,690 |
PHP | 2 | 322 | 53 | 1,967 |
CSS | 3 | 76 | 21 | 472 |
Markdown | 1 | 6 | 0 | 19 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
Average class complexity | 206.00 |
▷ Minimum class complexity | 206.00 |
▷ Maximum class complexity | 206.00 |
Average method complexity | 10.76 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 55.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 | 21 | |
▷ Static methods | 21 | 100.00% |
▷ Public methods | 14 | 66.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 33.33% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
slickgrid/images/sort-asc.png | 0.10KB | 0.16KB | 0.00% |
slickgrid/images/sort-desc.png | 0.10KB | 0.16KB | 0.00% |