Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼1.62ms] Passed 4 tests
An overview of server-side resources used by WP Editarea
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 45.15 ▲2.33 |
Dashboard /wp-admin | 3.33 ▲0.03 | 53.26 ▼1.90 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 52.07 ▼3.54 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 92.69 ▼2.62 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 40.47 ▲1.60 |
WP Editarea /wp-admin/options-general.php?page=wp-editarea | 3.23 | 34.53 |
Server storage [IO: ▲0.28MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 70 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Editarea
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.20 ▲0.02 | 1.74 ▲0.03 | 42.79 ▼0.23 |
Dashboard /wp-admin | 2,196 ▲25 | 5.65 ▼0.04 | 85.78 ▼10.62 | 41.55 ▼0.47 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 2.00 ▼0.03 | 38.30 ▼1.72 | 33.06 ▼3.39 |
Add New Post /wp-admin/post-new.php | 1,541 ▲15 | 22.99 ▼0.01 | 657.25 ▼32.76 | 54.24 ▲1.16 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.18 ▼0.04 | 104.51 ▼2.22 | 46.11 ▲2.81 |
WP Editarea /wp-admin/options-general.php?page=wp-editarea | 1,114 | 2.00 | 22.16 | 34.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
10 plugin tags: syntax highlight, source code, code editor, admin, editor...
wp-editarea/wp-editarea.php 92% from 13 tests
The main PHP script in "WP Editarea" version 0.4 is automatically included on every request by WordPress
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 284 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected2,910 lines of code in 42 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 40 | 22 | 112 | 2,341 |
CSS | 1 | 79 | 22 | 429 |
PHP | 1 | 25 | 12 | 140 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
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 | 7 | |
▷ Named functions | 7 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
editarea/images/opacity.png | 0.14KB | 0.09KB | ▼ 34.01% |