Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▲2.22ms] Passed 4 tests
This is a short check of server-side resources used by Simple Virtu Widget
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.01 | 39.07 ▲0.80 |
Dashboard /wp-admin | 3.37 ▲0.02 | 48.64 ▼3.75 |
Posts /wp-admin/edit.php | 3.48 ▲0.08 | 51.43 ▲6.69 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.02 | 98.39 ▲5.15 |
Media Library /wp-admin/upload.php | 3.29 ▲0.02 | 38.99 ▲7.63 |
Simple Virtu Widget /wp-admin/options-general.php?page=simple-virtu-widget | 3.26 | 33.56 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, 9 new options
New WordPress options |
---|
virtu_mortgage_agent_id |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
virtu_mortgage_ega_tracking_id |
virtu_mortgage_agent_id_from_url |
Browser metrics Passed 4 tests
A check of browser resources used by Simple Virtu Widget
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.28 ▼0.12 | 1.74 ▲0.23 | 40.33 ▼2.78 |
Dashboard /wp-admin | 2,199 ▲22 | 5.69 ▼0.01 | 89.90 ▼5.41 | 44.55 ▲6.66 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.02 ▲0.07 | 39.32 ▼2.95 | 40.10 ▲5.59 |
Add New Post /wp-admin/post-new.php | 1,540 ▲14 | 18.26 ▼5.29 | 615.44 ▼73.77 | 73.17 ▲3.75 |
Media Library /wp-admin/upload.php | 1,407 ▲4 | 4.19 ▼0.01 | 104.34 ▲7.26 | 45.83 ▼0.60 |
Simple Virtu Widget /wp-admin/options-general.php?page=simple-virtu-widget | 824 | 2.03 | 24.08 | 26.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% from 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
Please take a closer look at the following
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/simple-virtu-widget/options.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/simple-virtu-widget/simple-virtu-widget.php:83
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
3 plugin tags: javascript, widget, virtu
simple-virtu-widget/simple-virtu-widget.php Passed 13 tests
"Simple Virtu Widget" version 1.2.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
52 characters long description:
Enables Virtu Systems mortgage widget and shortcode.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected114 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 26 | 26 | 94 |
PO File | 1 | 3 | 3 | 20 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
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 | 9 | |
▷ Named functions | 9 | 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
No PNG files were detected