Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼3.49ms] Passed 4 tests
An overview of server-side resources used by Frontend Debugger
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 58.70 ▲11.24 |
Dashboard /wp-admin | 3.34 ▲0.04 | 51.37 ▼6.08 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 53.15 ▼2.40 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 96.90 ▼5.48 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 37.71 ▲0.01 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Frontend Debugger: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 9,696 ▲6,935 | 15.50 ▲1.97 | 45.07 ▲40.13 | 37.12 ▼7.76 |
Dashboard /wp-admin | 2,198 ▲21 | 5.62 ▼0.01 | 86.91 ▼18.87 | 40.74 ▼5.20 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.97 ▼0.02 | 38.60 ▼0.66 | 35.31 ▼1.83 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.64 ▲0.48 | 645.34 ▼75.06 | 67.58 ▲12.48 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.15 ▲0.03 | 95.73 ▼9.72 | 44.48 ▼1.44 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
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
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > Break-in attempt detected
frontend_debugger_template_direct_access /wp-content/plugins/frontend-debugger/template/frontend.php
- > Break-in attempt detected
frontend_debugger_direct_access /wp-content/plugins/frontend-debugger/frontend-debugger.php
- > Break-in attempt detected
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
7 plugin tags: debugging, debug, html, source, development...
frontend-debugger/frontend-debugger.php Passed 13 tests
The primary PHP file in "Frontend Debugger" version 0.9.0 is used by WordPress to initiate all plugin functionality
31 characters long description:
Display page source prettified.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin699 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 96 | 60 | 284 |
CSS | 4 | 88 | 168 | 248 |
JavaScript | 3 | 26 | 9 | 167 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 25.00 |
▷ Minimum class complexity | 25.00 |
▷ Maximum class complexity | 25.00 |
Average method complexity | 2.41 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.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 | 17 | |
▷ Static methods | 1 | 5.88% |
▷ Public methods | 15 | 88.24% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 11.76% |
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