Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
It is recommended to fix the following installer errors
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/wixiweb-firephp-queries/vendor/firephp/FirePHP.class.php+1370
Array and string offset access syntax with curly braces is deprecated
Server metrics [RAM: ▼1.98MB] [CPU: ▼345.35ms] Passed 4 tests
An overview of server-side resources used by Wixiweb FirePHP Queries
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.39 ▼1.12 | 4.84 ▼47.59 |
Dashboard /wp-admin | 2.41 ▼1.00 | 4.66 ▼28.16 |
Posts /wp-admin/edit.php | 2.41 ▼1.23 | 4.56 ▼33.10 |
Add New Post /wp-admin/post-new.php | 2.41 ▼4.56 | 4.71 ▼1,272.56 |
Media Library /wp-admin/upload.php | 2.41 ▼0.89 | 4.61 ▼27.05 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Wixiweb FirePHP Queries: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,763 ▲9 | 15.88 ▼0.07 | 5.72 ▼0.79 | 2.18 ▼1.17 |
Dashboard /wp-admin | 2,895 ▲37 | 6.05 ▼0.15 | 117.02 ▼14.20 | 153.89 ▼10.39 |
Posts /wp-admin/edit.php | 2,694 ▲6 | 3.24 ▲0.00 | 62.67 ▼1.59 | 135.22 ▼2.35 |
Add New Post /wp-admin/post-new.php | 1,752 ▲62 | 21.08 ▲0.35 | 433.37 ▲32.55 | 153.30 ▼8.09 |
Media Library /wp-admin/upload.php | 1,698 ▼0 | 5.53 ▲0.03 | 145.76 ▼5.40 | 189.46 ▼2.03 |
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
You still need to fix the following
- Uninstall procedure had uncaught errors
- > Deprecated in wp-content/plugins/wixiweb-firephp-queries/vendor/firephp/FirePHP.class.php+1370
Array and string offset access syntax with curly braces is deprecated
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 no errors were found, this is by no means an exhaustive test
SRP 50% 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 fix the following
- 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/wixiweb-firephp-queries/wixiweb-firephp-queries.php:25
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Tags: Please reduce the number of tags, currently 17 tag instead of maximum 10
wixiweb-firephp-queries/wixiweb-firephp-queries.php Passed 13 tests
The principal PHP file in "Wixiweb FirePHP Queries" v. 1.0.1 is loaded by WordPress automatically on each request
122 characters long description:
Use Firebug with FirePHP to analyze the SQL queries made by Wordpress. Ideal for development and avoid performance issues.
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected1,162 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 273 | 866 | 1,162 |
PHP code 50% from 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
It is recommended to fix the following
- Please reduce cyclomatic complexity of methods to less than 100 (currently 136)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.69 |
Average class complexity | 96.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 281.00 |
Average method complexity | 5.31 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 136.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 66 | |
▷ Static methods | 22 | 33.33% |
▷ Public methods | 52 | 78.79% |
▷ Protected methods | 11 | 16.67% |
▷ Private methods | 3 | 4.55% |
Functions | 4 | |
▷ Named functions | 2 | 50.00% |
▷ Anonymous functions | 2 | 50.00% |
Constants | 16 | |
▷ Global constants | 5 | 31.25% |
▷ Class constants | 11 | 68.75% |
▷ Public constants | 11 | 100.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
PNG images were not found in this plugin