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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼9.29ms] Passed 4 tests
An overview of server-side resources used by My Net Worth
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 35.52 ▼0.88 |
Dashboard /wp-admin | 3.33 ▼0.01 | 43.68 ▼17.38 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 46.27 ▼0.86 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.02 | 86.31 ▼18.05 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 35.30 ▲1.71 |
My Net Worth /wp-admin/options-general.php?page=wp_my_plugin | 3.22 | 29.95 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
username |
db_upgraded |
widget_theysaidso_widget |
widget_wp_my_plugin |
widget_recent-comments |
entrycount |
Browser metrics Passed 4 tests
A check of browser resources used by My Net Worth
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲47 | 14.18 ▼0.22 | 1.52 ▲0.02 | 37.48 ▲0.14 |
Dashboard /wp-admin | 2,196 ▲16 | 5.59 ▼0.05 | 92.60 ▲3.40 | 37.68 ▼8.05 |
Posts /wp-admin/edit.php | 2,101 ▼2 | 2.01 ▲0.04 | 39.42 ▲1.85 | 35.99 ▲3.95 |
Add New Post /wp-admin/post-new.php | 1,529 ▼6 | 22.97 ▲4.84 | 695.84 ▲48.33 | 51.69 ▼10.66 |
Media Library /wp-admin/upload.php | 1,398 ▼5 | 4.20 ▼0.00 | 93.32 ▼10.42 | 41.15 ▼6.16 |
My Net Worth /wp-admin/options-general.php?page=wp_my_plugin | 809 | 2.03 | 25.91 | 26.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_wp_my_plugin
- 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
Everything seems fine, however this is by no means an exhaustive test
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
The following issues need your attention
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/my-net-worth/options.php:5
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/my-net-worth/my-net-worth.php:61
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Tags: No tags were detected
- Donate link: Please fix this invalid url: ""
my-net-worth/my-net-worth.php Passed 13 tests
The main PHP script in "My Net Worth" version 2.0 is automatically included on every request by WordPress
71 characters long description:
This widget displays a live chart of your Net Worth from NetworthShare.
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 plugin100 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 33 | 37 | 100 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.03 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 7 | 87.50% |
▷ Anonymous functions | 1 | 12.50% |
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
There were not PNG files found in your plugin