Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼137.90ms] Passed 4 tests
This is a short check of server-side resources used by wao.io
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.12 | 35.29 ▲13.51 |
Dashboard /wp-admin | 3.07 ▲0.01 | 44.00 ▼1.16 |
Posts /wp-admin/edit.php | 3.12 ▲0.01 | 44.07 ▼0.88 |
Add New Post /wp-admin/post-new.php | 5.43 ▼0.00 | 88.91 ▼549.46 |
Media Library /wp-admin/upload.php | 3.01 ▲0.00 | 35.06 ▼0.11 |
Server storage [IO: ▲3.92MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 64 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
wao.io: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,782 ▲186 | 15.83 ▲0.28 | 7.81 ▼0.95 | 50.48 ▲6.74 |
Dashboard /wp-admin | 3,073 ▲142 | 5.90 ▼0.03 | 132.81 ▼10.72 | 108.69 ▼11.55 |
Posts /wp-admin/edit.php | 2,842 ▲103 | 2.69 ▲0.00 | 61.75 ▼2.53 | 84.07 ▼10.92 |
Add New Post /wp-admin/post-new.php | 1,511 ▲11 | 18.83 ▲0.38 | 361.80 ▲0.36 | 109.06 ▼0.06 |
Media Library /wp-admin/upload.php | 1,914 ▲107 | 5.04 ▲0.04 | 155.36 ▲3.39 | 116.43 ▼1.55 |
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 | A shallow check that no server-side errors were triggered
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
The following issues need your attention
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/wao-io/wao.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/wao-io/index.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
8 plugin tags: optimize, optimizer, caching, performance, cache...
wao-io/wao.php 85% from 13 tests
The primary PHP file in "wao.io" version 1.0.2 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Requires at least: Required version does not match the one declared in readme.txt ("3.9" instead of "4.6")
- Main file name: It is recommended to name the main PHP file as the plugin slug ("wao-io.php" instead of "wao.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin3,465 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 21 | 60 | 3,337 |
SVG | 2 | 0 | 0 | 125 |
JavaScript | 2 | 0 | 12 | 3 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
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 | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
3 PNG files occupy 0.26MB with 0.14MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/logo-icon.png | 7.96KB | 3.84KB | ▼ 51.80% |
wao-template/801e703e8f57d53663f2039b7eae3cbf.png | 252.47KB | 100.04KB | ▼ 60.38% |
wao-template/images/logo-icon.png | 7.96KB | 3.84KB | ▼ 51.80% |