Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.08MB] [CPU: ▼4.68ms] Passed 4 tests
An overview of server-side resources used by ScribbleLive WP
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 35.27 ▼2.10 |
Dashboard /wp-admin | 3.40 ▲0.09 | 41.87 ▼7.57 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 52.25 ▲6.95 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.10 | 75.94 ▼10.30 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 36.11 ▲1.27 |
ScribbleLive /wp-admin/options-general.php?page=scribble-live-wp | 3.29 | 42.36 |
Server storage [IO: ▲0.06MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for ScribbleLive WP
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,799 ▲38 | 14.23 ▼0.35 | 1.56 ▼0.46 | 38.50 ▼5.07 |
Dashboard /wp-admin | 2,205 ▲28 | 5.57 ▲0.01 | 94.67 ▲9.23 | 44.62 ▲1.38 |
Posts /wp-admin/edit.php | 2,110 ▲7 | 2.02 ▲0.01 | 35.72 ▼4.69 | 34.73 ▼3.06 |
Add New Post /wp-admin/post-new.php | 1,537 ▲11 | 23.35 ▲0.28 | 665.88 ▼37.23 | 56.93 ▲3.70 |
Media Library /wp-admin/upload.php | 1,413 ▲10 | 4.20 ▼0.09 | 93.17 ▼9.08 | 41.87 ▼1.67 |
ScribbleLive /wp-admin/options-general.php?page=scribble-live-wp | 853 | 2.01 | 26.25 | 33.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
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)
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Screenshot #2 (The nofollow attribute mode setting allows advanced seo controls for internal and external links.) image not found
scribblelive-wp/scribblelive-wp.php 92% from 13 tests
The principal PHP file in "ScribbleLive WP" v. 1.1.0.0 is loaded by WordPress automatically on each request
It is important to fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
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
Everything looks great! No dangerous files found in this plugin483 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 215 | 555 | 405 |
JavaScript | 1 | 9 | 3 | 78 |
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 problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 11.40 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 43.00 |
Average method complexity | 2.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 40 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 30 | 75.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 10 | 25.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
PNG files should be compressed to save space and minimize bandwidth usage
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 |
admin/img/scribble.png | 3.48KB | 0.80KB | ▼ 77.10% |