Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.40ms] Passed 4 tests
A check of server-side resources used by Express It
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 42.51 ▼0.14 |
Dashboard /wp-admin | 3.32 ▲0.01 | 50.33 ▼11.63 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 57.55 ▲6.88 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 95.64 ▼4.15 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.57 ▼1.69 |
Express It /wp-admin/options-general.php?page=express-it | 3.21 | 28.55 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 8 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_expressit_likes_counter |
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Express It
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,932 ▲171 | 13.66 ▼0.95 | 13.00 ▲11.25 | 40.80 ▼2.60 |
Dashboard /wp-admin | 2,222 ▲27 | 5.79 ▲0.76 | 99.21 ▼16.99 | 39.59 ▼1.94 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.03 ▲0.01 | 33.28 ▼3.69 | 34.35 ▲0.86 |
Add New Post /wp-admin/post-new.php | 1,548 ▼6 | 23.18 ▲4.79 | 656.20 ▼14.96 | 54.94 ▼13.52 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.18 ▼0.05 | 99.75 ▼2.01 | 45.09 ▼3.44 |
Express It /wp-admin/options-general.php?page=express-it | 907 | 2.01 | 23.16 | 30.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_expressit_likes_counter
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% from 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
Please fix the following
- 3× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/express-it/inc/class-expressit-main.php
- > /wp-content/plugins/express-it/inc/class-expressit-data-setup.php
- > /wp-content/plugins/express-it/express-it.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 83% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Donate link: Invalid url: ""
- Screenshots: Please add images for these screenshots: #1 (screenshot-1.png), #2 (screenshot-2.png)
express-it/express-it.php 77% from 13 tests
The main PHP script in "Express It" version 1.0.2 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Domain Path: Note that the domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 144 characters long)
- Domain Path: Please prefix the domain path with a forward slash character ("/")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin598 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 60 | 173 | 339 |
JavaScript | 2 | 37 | 123 | 259 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 20.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 38.00 |
Average method complexity | 5.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
2 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 23.35KB | 11.71KB | ▼ 49.87% |
screenshot-2.png | 2.52KB | 1.99KB | ▼ 21.12% |