Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼3.80ms] Passed 4 tests
An overview of server-side resources used by Skeletonisr
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 40.39 ▼0.68 |
Dashboard /wp-admin | 3.34 ▲0.04 | 49.99 ▼2.41 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 51.98 ▼3.24 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 92.22 ▼8.87 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 41.02 ▲8.33 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Skeletonisr
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲62 | 13.22 ▼1.23 | 6.00 ▲4.33 | 39.56 ▲0.36 |
Dashboard /wp-admin | 2,209 ▲21 | 5.88 ▲0.00 | 99.25 ▼9.27 | 40.47 ▼0.26 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.06 ▲0.01 | 40.44 ▼1.62 | 37.10 ▼2.24 |
Add New Post /wp-admin/post-new.php | 1,519 ▼9 | 23.28 ▲0.17 | 682.23 ▲17.51 | 55.24 ▼6.79 |
Media Library /wp-admin/upload.php | 1,385 ▼3 | 4.22 ▼0.00 | 100.21 ▼5.11 | 45.93 ▲2.41 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking 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 | 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
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/skeletonisr/skeletonisr.class.php:58
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Plugin Name: You should set the name of your plugin on the first line (
=== skeletonisr ===
)
skeletonisr/skeletonisr.class.php 92% from 13 tests
The main file in "Skeletonisr" v. 1.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("skeletonisr.php" instead of "skeletonisr.class.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
There were no executable files found in this plugin539 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 78 | 118 | 373 |
PHP | 1 | 42 | 60 | 120 |
Markdown | 1 | 14 | 0 | 29 |
PO File | 1 | 1 | 0 | 17 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 2.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.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 | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 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 | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
3 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
Skeleton/images/apple-touch-icon.png | 2.41KB | 1.51KB | ▼ 37.18% |
Skeleton/images/apple-touch-icon-72x72.png | 3.78KB | 2.49KB | ▼ 34.27% |
Skeleton/images/apple-touch-icon-114x114.png | 9.88KB | 3.79KB | ▼ 61.59% |