Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.14MB] [CPU: ▼141.89ms] Passed 4 tests
A check of server-side resources used by Template Debugger
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.00 ▲0.16 | 30.89 ▲4.97 |
Dashboard /wp-admin | 3.20 ▲0.13 | 42.54 ▲0.86 |
Posts /wp-admin/edit.php | 3.31 ▲0.20 | 33.69 ▼2.39 |
Add New Post /wp-admin/post-new.php | 5.57 ▲0.12 | 71.13 ▼566.89 |
Media Library /wp-admin/upload.php | 3.15 ▲0.14 | 26.64 ▲0.87 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 10 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Template Debugger
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,807 ▲206 | 16.09 ▲0.57 | 5.00 ▼2.64 | 75.96 ▼0.00 |
Dashboard /wp-admin | 2,954 ▲62 | 6.13 ▼0.00 | 111.36 ▼29.42 | 166.94 ▼13.76 |
Posts /wp-admin/edit.php | 2,727 ▼13 | 3.37 ▲0.01 | 61.95 ▼2.63 | 141.53 ▼1.69 |
Add New Post /wp-admin/post-new.php | 3,793 ▼14 | 18.93 ▲0.01 | 411.49 ▼28.99 | 173.92 ▼3.36 |
Media Library /wp-admin/upload.php | 1,769 ▲17 | 5.50 ▲0.02 | 147.77 ▲2.96 | 187.62 ▼2.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstaller ran successfully
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
Good news, no errors were detected
SRP 0% 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
The following issues need your attention
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/quick-edit-template-link/quick-edit-template-link.php
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/quick-edit-template-link/clone/functions.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Plugin Name: You should set the name of your plugin on the first line (
=== quick-edit-template-link ===
)
quick-edit-template-link/quick-edit-template-link.php Passed 13 tests
The main PHP script in "Template Debugger" version 3.1.2 is automatically included on every request by WordPress
105 characters long description:
A template debugger that helps you identify what template files are being used on the page you're viewing
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin791 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 184 | 54 | 672 |
PO File | 1 | 31 | 31 | 104 |
CSS | 3 | 8 | 15 | 15 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 97.00 |
▷ Minimum class complexity | 97.00 |
▷ Maximum class complexity | 97.00 |
Average method complexity | 3.46 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.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 | 39 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 34 | 87.18% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 12.82% |
Functions | 1 | |
▷ Named functions | 1 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin