Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Please fix the following installer errors
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/hits-ie6-pngfix/hits-pngfix.php+325
Array and string offset access syntax with curly braces is deprecated
Server metrics [RAM: ▼1.77MB] [CPU: ▼188.42ms] Passed 4 tests
This is a short check of server-side resources used by HITS- IE6 PNGFix
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.86 ▼0.86 | 5.06 ▼15.88 |
Dashboard /wp-admin | 1.88 ▼1.18 | 5.56 ▼41.64 |
Posts /wp-admin/edit.php | 1.88 ▼1.23 | 6.09 ▼32.30 |
Add New Post /wp-admin/post-new.php | 1.88 ▼3.56 | 5.88 ▼653.56 |
Media Library /wp-admin/upload.php | 1.88 ▼1.12 | 5.87 ▼26.17 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 28 new files
Database: no new tables, 1 new option
New WordPress options |
---|
hits_ie6_pngfix_options |
Browser metrics Passed 4 tests
Checking browser requirements for HITS- IE6 PNGFix
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,692 ▲96 | 15.79 ▲0.21 | 9.88 ▼1.59 | 50.58 ▲6.57 |
Dashboard /wp-admin | 2,980 ▲46 | 5.95 ▲0.00 | 153.58 ▲12.07 | 109.54 ▼1.35 |
Posts /wp-admin/edit.php | 2,746 ▲10 | 2.72 ▲0.02 | 63.21 ▼0.86 | 89.05 ▲6.31 |
Add New Post /wp-admin/post-new.php | 1,620 ▼52 | 21.90 ▲2.99 | 298.76 ▼73.45 | 107.92 ▼2.14 |
Media Library /wp-admin/upload.php | 1,816 ▲9 | 5.04 ▲0.02 | 154.51 ▼8.90 | 113.79 ▼1.07 |
HITS- IE6 PNG Fix /wp-admin/hits-pngfix.php | 26 | 0.90 | 0.09 | 11.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- The plugin did not uninstall gracefully
- > Deprecated in wp-content/plugins/hits-ie6-pngfix/hits-pngfix.php+325
Array and string offset access syntax with curly braces is deprecated
- Zombie WordPress options detected upon uninstall: 1 option
- hits_ie6_pngfix_options
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 4× PHP files output text when accessed directly:
- > /wp-content/plugins/hits-ie6-pngfix/THM1/iepngfix.php
- > /wp-content/plugins/hits-ie6-pngfix/THM2/iepngfix.php
- > /wp-content/plugins/hits-ie6-pngfix/UPNGFIX/unitpngfix.js.php
- > /wp-content/plugins/hits-ie6-pngfix/supersleight/supersleight-min.js.php
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_locale() in wp-content/plugins/hits-ie6-pngfix/hits-pngfix.php:67
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/hits-ie6-pngfix/adminPage.php:17
- > PHP Notice
Undefined index: hits_ie6_pngfix_save in wp-content/plugins/hits-ie6-pngfix/adminPage.php on line 2
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
These are user-side errors you should fix
- > GET request to /wp-admin/hits-pngfix.php
- > Network (severe)
wp-admin/hits-pngfix.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
7 plugin tags: transparency, formatting, style, compatability, image...
hits-ie6-pngfix/hits-pngfix.php 92% from 13 tests
Analyzing the main PHP file in "HITS- IE6 PNGFix" version 3.7.0
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("hits-ie6-pngfix.php" instead of "hits-pngfix.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected651 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 47 | 116 | 343 |
JavaScript | 2 | 15 | 26 | 145 |
PO File | 2 | 53 | 52 | 139 |
CSS | 1 | 2 | 1 | 14 |
HTML | 1 | 0 | 6 | 10 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 34.00 |
▷ Minimum class complexity | 34.00 |
▷ Maximum class complexity | 34.00 |
Average method complexity | 3.54 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.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 | 13 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 13 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
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
No PNG images were found in this plugin