Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▼0.91MB] [CPU: ▼179.81ms] Passed 4 tests
An overview of server-side resources used by Skyscraper.io
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.12 | 39.14 ▲20.28 |
Dashboard /wp-admin | 2.74 ▼0.32 | 24.74 ▼22.76 |
Posts /wp-admin/edit.php | 2.74 ▼0.37 | 22.39 ▼21.96 |
Add New Post /wp-admin/post-new.php | 2.74 ▼2.69 | 19.50 ▼647.01 |
Media Library /wp-admin/upload.php | 2.74 ▼0.27 | 16.83 ▼27.52 |
Skyscraper /wp-admin/options-general.php?page=skyscraper-io/skyscraper_io.php | 2.74 | 21.09 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
skyscraper_io_widget_page_id |
is-not-first-load |
skyscraper_io_site_id |
skyscraper_io_widget_title |
skyscraper_io_widget_enabled |
skyscraper_io_widget_permlink |
Browser metrics Passed 4 tests
Checking browser requirements for Skyscraper.io
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,718 ▲122 | 15.79 ▲0.19 | 10.97 ▼3.60 | 45.92 ▼1.28 |
Dashboard /wp-admin | 2,978 ▲44 | 5.92 ▼0.04 | 135.68 ▼3.17 | 109.38 ▼12.45 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.73 ▼0.00 | 62.27 ▼2.13 | 85.40 ▼3.83 |
Add New Post /wp-admin/post-new.php | 1,503 ▼169 | 18.67 ▼0.31 | 362.20 ▼18.76 | 108.47 ▼6.67 |
Media Library /wp-admin/upload.php | 1,815 ▲8 | 5.04 ▲0.01 | 144.22 ▼23.58 | 124.66 ▼18.51 |
Skyscraper /wp-admin/options-general.php?page=skyscraper-io/skyscraper_io.php | 1,145 | 2.33 | 57.74 | 88.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- The plugin did not uninstall gracefully
- > User deprecated in wp-includes/functions.php+5495
has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- Zombie WordPress options detected upon uninstall: 6 options
- is-not-first-load
- skyscraper_io_widget_page_id
- skyscraper_io_widget_permlink
- skyscraper_io_widget_title
- skyscraper_io_site_id
- skyscraper_io_widget_enabled
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
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=skyscraper-io/skyscraper_io.php
- > User deprecated in wp-includes/functions.php+5495
has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_bloginfo() in wp-content/plugins/skyscraper-io/skyscraper_io.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 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
These attributes need to be fixed:
- Donate link: Invalid URI ("")
skyscraper-io/skyscraper_io.php 92% from 13 tests
The main PHP script in "Skyscraper.io" version 1.0.5 is automatically included on every request by WordPress
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("skyscraper-io.php" instead of "skyscraper_io.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected246 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 39 | 54 | 213 |
CSS | 1 | 7 | 0 | 29 |
JavaScript | 1 | 0 | 0 | 4 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
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 | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.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
2 PNG files occupy 0.07MB with 0.05MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
logo-32x32.png | 1.10KB | 0.16KB | ▼ 85.42% |
skyscraper-wp-plugin-1.png | 66.11KB | 16.77KB | ▼ 74.63% |