Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▼0.31MB] [CPU: ▼10.23ms] Passed 4 tests
An overview of server-side resources used by Verbatim
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.09 ▼1.37 | 4.72 ▼35.73 |
Dashboard /wp-admin | 3.35 ▲0.05 | 52.25 ▼2.46 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 54.55 ▼0.65 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 99.71 ▼1.92 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 36.76 ▼0.80 |
Verbatim /wp-admin/options-general.php?page=verbatim_settings_page | 3.26 | 41.00 |
Server storage [IO: ▲1.83MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Verbatim
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,954 ▲193 | 14.64 ▲0.40 | 13.78 ▲12.12 | 43.65 ▼1.10 |
Dashboard /wp-admin | 2,199 ▲22 | 5.63 ▼0.02 | 91.50 ▼7.56 | 38.42 ▼5.85 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.03 ▲0.04 | 38.33 ▲0.70 | 35.18 ▼0.59 |
Add New Post /wp-admin/post-new.php | 1,529 ▼7 | 23.52 ▲5.26 | 670.67 ▲53.72 | 51.19 ▼13.51 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.23 ▼0.00 | 101.09 ▼7.56 | 42.98 ▼3.27 |
Verbatim /wp-admin/options-general.php?page=verbatim_settings_page | 978 | 2.03 | 24.97 | 31.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/verbatim/admin/verbatim_admin.php
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/verbatim/verbatim.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/verbatim/admin/verbatim_admin.php:52
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following browser errors
- > GET request to /wp-admin/options-general.php?page=verbatim_settings_page
- > Rendering (severe) in unknown
/wp-admin/options-general.php?page=verbatim_settings_page 175 Error: attribute d: Expected number, "…3-0.2,0.7,0,0.7,x0.4v2.6c0,0.3,0…".
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== verbatim ===
)
verbatim/verbatim.php Passed 13 tests
"Verbatim" version 1.5's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
44 characters long description:
Allows deep linking directly to post content
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected611 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 46 | 9 | 296 |
JavaScript | 1 | 58 | 4 | 207 |
CSS | 2 | 17 | 0 | 89 |
SVG | 2 | 0 | 2 | 19 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.05 |
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 | 6 | |
▷ Named functions | 6 | 100.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.27MB with 0.19MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 272.69KB | 78.15KB | ▼ 71.34% |