Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼146.62ms] Passed 4 tests
Analyzing server-side resources used by Custom Windows Pinned Tiles
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.12 | 30.72 ▲10.94 |
Dashboard /wp-admin | 3.07 ▲0.01 | 55.14 ▲8.33 |
Posts /wp-admin/edit.php | 3.12 ▲0.01 | 43.97 ▼1.50 |
Add New Post /wp-admin/post-new.php | 5.43 ▼0.01 | 89.09 ▼594.14 |
Media Library /wp-admin/upload.php | 3.01 ▲0.01 | 33.23 ▲0.84 |
Windows Pinned Tiles /wp-admin/options-general.php?page=custom-windows-pinned-tiles/custom-windows-pinned-tiles.php | 3.01 | 33.31 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 1 new option
New WordPress options |
---|
cwptiles_options |
Browser metrics Passed 4 tests
Checking browser requirements for Custom Windows Pinned Tiles
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,718 ▲112 | 15.93 ▲0.56 | 10.18 ▲1.31 | 41.36 ▼9.09 |
Dashboard /wp-admin | 2,975 ▲41 | 5.90 ▼0.33 | 148.65 ▼8.75 | 112.63 ▲1.61 |
Posts /wp-admin/edit.php | 2,741 ▲2 | 2.72 ▲0.00 | 64.24 ▼10.14 | 88.68 ▼30.72 |
Add New Post /wp-admin/post-new.php | 1,507 ▼108 | 18.53 ▼3.12 | 393.94 ▲101.58 | 120.26 ▲12.56 |
Media Library /wp-admin/upload.php | 1,815 ▲8 | 5.10 ▲0.09 | 159.03 ▼9.79 | 112.46 ▼5.40 |
Windows Pinned Tiles /wp-admin/options-general.php?page=custom-windows-pinned-tiles/custom-windows-pinned-tiles.php | 1,778 | 4.47 | 138.83 | 120.12 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The plugin uninstalled completely, with no zombie files or tables
Smoke tests 75% 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)
Even though everything seems fine, this is not 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 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 is_admin() in wp-content/plugins/custom-windows-pinned-tiles/custom-windows-pinned-tiles.php:32
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
custom-windows-pinned-tiles/custom-windows-pinned-tiles.php Passed 13 tests
The main PHP script in "Custom Windows Pinned Tiles" version 2.1 is automatically included on every request by WordPress
107 characters long description:
Create custom, live-updating tiles (with images!) for Windows 8.1/IE11 users to pin to their Start Screens.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin301 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 26 | 49 | 269 |
JavaScript | 1 | 8 | 7 | 32 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
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 | 10 | |
▷ Named functions | 10 | 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
PNG files should be compressed to save space and minimize bandwidth usage
3 compressed PNG files occupy 0.05MB
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
default-wp-logo.png | 6.08KB | 6.10KB | 0.00% |
start-screen-preview.png | 46.70KB | 48.02KB | 0.00% |
blank-ms-tile.png | 0.54KB | 0.46KB | ▼ 14.86% |