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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.09MB] [CPU: ▼8.23ms] Passed 4 tests
A check of server-side resources used by Processing Projects
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 36.02 ▼5.16 |
Dashboard /wp-admin | 3.41 ▲0.11 | 44.41 ▼5.10 |
Posts /wp-admin/edit.php | 3.52 ▲0.17 | 45.43 ▼0.87 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.11 | 82.06 ▼21.03 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 34.08 ▼1.62 |
Processing Projects /wp-admin/edit.php?post_type=processing-project | 3.37 | 35.65 |
Add Processing Project /wp-admin/post-new.php?post_type=processing-project | 3.37 | 48.53 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 9 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
pp_meta_box_errors |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Processing Projects
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,852 ▲106 | 13.18 ▼1.11 | 1.75 ▼0.06 | 38.92 ▼5.49 |
Dashboard /wp-admin | 2,233 ▲45 | 5.84 ▼0.01 | 100.08 ▼2.14 | 40.99 ▼2.83 |
Posts /wp-admin/edit.php | 2,116 ▲27 | 2.00 ▼0.00 | 34.83 ▼7.96 | 32.62 ▼3.67 |
Add New Post /wp-admin/post-new.php | 1,565 ▲37 | 18.18 ▼0.24 | 596.81 ▼36.36 | 63.86 ▼1.53 |
Media Library /wp-admin/upload.php | 1,415 ▲30 | 4.22 ▲0.00 | 97.32 ▼29.56 | 43.28 ▼3.87 |
Processing Projects /wp-admin/edit.php?post_type=processing-project | 1,096 | 1.93 | 30.64 | 29.84 |
Add Processing Project /wp-admin/post-new.php?post_type=processing-project | 1,529 | 2.56 | 48.53 | 46.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- pp_meta_box_errors
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Looking good! No server-side errors or output 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 93% from 29 tests
readme.txt 94% 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
These attributes need your attention:
- Screenshots: Add images for these screenshots: #1 (Add New Processing Project), #2 (Published Processing Project), #3 (Processing Projects Post Table - Displaying all Shortcodes for Uploaded Projects)
processing-projects/processing-projects.php 92% from 13 tests
The principal PHP file in "Processing Projects" v. 1.0.2 is loaded by WordPress automatically on each request
It is important to fix the following:
- Requires at least: Required version does not match the one declared in readme.txt ("4.9.2" instead of "4.9")
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
Success! There were no dangerous files found in this plugin405 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 72 | 164 | 405 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 10.20 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 21.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 1 | 20.00% |
Methods | 23 | |
▷ Static methods | 8 | 34.78% |
▷ Public methods | 20 | 86.96% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 13.04% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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.12MB with 0.06MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 32.28KB | 13.45KB | ▼ 58.35% |
screenshot-3.png | 71.64KB | 38.00KB | ▼ 46.96% |
screenshot-2.png | 18.81KB | 9.95KB | ▼ 47.11% |