Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼270.58ms] Passed 4 tests
An overview of server-side resources used by ER Windows 8 Meta Addon
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▲0.03 | 35.06 ▲3.54 |
Dashboard /wp-admin | 3.09 ▲0.04 | 43.02 ▲0.22 |
Posts /wp-admin/edit.php | 3.15 ▲0.04 | 45.46 ▲5.16 |
Add New Post /wp-admin/post-new.php | 5.46 ▲0.03 | 94.34 ▼1,078.62 |
Media Library /wp-admin/upload.php | 3.04 ▲0.03 | 33.59 ▼7.47 |
ER Windows 8 Meta /wp-admin/options-general.php?page=er-win8-meta | 2.98 | 26.55 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for ER Windows 8 Meta Addon
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,692 ▲86 | 15.89 ▲0.23 | 10.60 ▲2.28 | 45.84 ▼2.42 |
Dashboard /wp-admin | 2,949 ▲96 | 5.99 ▼0.04 | 152.46 ▼1.86 | 102.83 ▲0.11 |
Posts /wp-admin/edit.php | 2,725 ▲19 | 2.72 ▲0.03 | 67.72 ▲2.27 | 98.46 ▲0.44 |
Add New Post /wp-admin/post-new.php | 1,604 ▼47 | 21.73 ▲4.53 | 260.22 ▼101.71 | 109.96 ▲2.26 |
Media Library /wp-admin/upload.php | 1,794 ▲22 | 5.05 ▲0.06 | 145.20 ▼10.10 | 100.83 ▼21.29 |
ER Windows 8 Meta /wp-admin/options-general.php?page=er-win8-meta | 1,098 | 2.12 | 54.76 | 71.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The plugin uninstalled completely, with no zombie files or tables
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=er-win8-meta
- > Notice in wp-content/plugins/er-windows-8-meta-addon/er-windows-8-meta-addon.php+113
Trying to access array offset on value of type bool
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 take a closer look at the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/er-windows-8-meta-addon/er-windows-8-meta-addon.php:29
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
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
These attributes need your attention:
- Plugin Name: Please specify the plugin name on the first line (
=== er-windows-8-meta-addon ===
)
er-windows-8-meta-addon/er-windows-8-meta-addon.php Passed 13 tests
The main PHP file in "ER Windows 8 Meta Addon" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
98 characters long description:
Easily upload your logo and add the meta required to show your website as tile in Windows 8 Metro.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected154 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 14 | 15 | 154 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 10 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 1 test
Image compression Passed 1 test
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin