Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▲0.83ms] Passed 4 tests
This is a short check of server-side resources used by Woozapp
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 48.09 ▲2.60 |
Dashboard /wp-admin | 3.41 ▲0.11 | 53.79 ▲3.25 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 59.49 ▼0.02 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.13 | 97.03 ▼2.52 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 48.01 ▲5.88 |
Server storage [IO: ▲0.51MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 117 new files
Database: 1 new table, 6 new options
New tables |
---|
woozapp |
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Woozapp
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,820 ▲74 | 13.66 ▼0.75 | 1.71 ▼0.11 | 39.62 ▼3.12 |
Dashboard /wp-admin | 2,229 ▲37 | 6.06 ▲1.12 | 96.03 ▼23.39 | 42.79 ▼0.78 |
Posts /wp-admin/edit.php | 2,112 ▲23 | 2.04 ▼0.00 | 41.68 ▲5.56 | 37.03 ▲3.47 |
Add New Post /wp-admin/post-new.php | 1,531 ▲11 | 23.60 ▲0.43 | 670.84 ▲4.97 | 50.11 ▼12.31 |
Media Library /wp-admin/upload.php | 1,402 ▲14 | 4.24 ▲0.03 | 96.73 ▼16.78 | 43.83 ▼4.64 |
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
You still need to fix the following
- This plugin cannot be uninstalled
- > User notice in wp-includes/functions.php+5905
Function wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see Debugging in WordPress for more information. (This message was added in version 3.9.0.)
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
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 everything seems fine, this is not 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
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/woozapp/views/admin/mailNewDemo.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% 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
Attributes that require attention:
- Screenshots: Add a description for screenshot #2 in woozapp/assets to your readme.txt
woozapp/index.php 92% from 13 tests
The main PHP script in "Woozapp" version 1.1.0 is automatically included on every request by WordPress
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("woozapp.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin4,140 lines of code in 80 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 51 | 551 | 3,127 | 2,115 |
JSON | 2 | 0 | 0 | 1,031 |
Sass | 20 | 97 | 103 | 504 |
JavaScript | 3 | 55 | 150 | 275 |
YAML | 1 | 63 | 3 | 186 |
XML | 1 | 5 | 2 | 27 |
CSS | 1 | 0 | 1 | 1 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 5.17 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 2.19 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 18 | |
Interfaces | 3 | |
Traits | 1 | |
Classes | 38 | |
▷ Abstract classes | 3 | 7.89% |
▷ Concrete classes | 35 | 92.11% |
▷ Final classes | 24 | 68.57% |
Methods | 133 | |
▷ Static methods | 31 | 23.31% |
▷ Public methods | 108 | 81.20% |
▷ Protected methods | 6 | 4.51% |
▷ Private methods | 19 | 14.29% |
Functions | 14 | |
▷ Named functions | 5 | 35.71% |
▷ Anonymous functions | 9 | 64.29% |
Constants | 6 | |
▷ Global constants | 4 | 66.67% |
▷ Class constants | 2 | 33.33% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.25MB with 0.15MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/imgs/mockups/mockup-mobile-android.png | 99.18KB | 43.15KB | ▼ 56.49% |
assets/imgs/thumbnail-thank-you.png | 152.51KB | 57.57KB | ▼ 62.25% |