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
Installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▲0.76ms] Passed 4 tests
Server-side resources used by Mutual Funds Data
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 35.65 ▼0.70 |
Dashboard /wp-admin | 3.39 ▲0.09 | 45.44 ▼2.32 |
Posts /wp-admin/edit.php | 3.50 ▲0.15 | 48.53 ▼0.60 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.11 | 96.86 ▲11.51 |
Media Library /wp-admin/upload.php | 3.31 ▲0.09 | 37.42 ▲6.65 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Mutual Funds Data
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,903 ▲157 | 13.57 ▼0.81 | 4.78 ▲3.16 | 41.81 ▼5.34 |
Dashboard /wp-admin | 2,226 ▲35 | 4.86 ▼0.01 | 110.10 ▲12.01 | 41.70 ▲0.11 |
Posts /wp-admin/edit.php | 2,109 ▲17 | 2.01 ▼0.01 | 40.54 ▲4.00 | 33.39 ▼0.57 |
Add New Post /wp-admin/post-new.php | 1,531 ▲17 | 23.27 ▲5.75 | 668.76 ▼43.00 | 60.04 ▲6.22 |
Media Library /wp-admin/upload.php | 1,402 ▲17 | 4.20 ▲0.07 | 98.32 ▼8.46 | 44.29 ▼3.26 |
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
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- 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)
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
3 plugin tags: investing, mutual funds, stock market
mutual-funds-data/mutual-funds-data.php Passed 13 tests
The entry point to "Mutual Funds Data" version 1.2.1 is a PHP file that has certain tags in its header comment area
106 characters long description:
Mutual Funds Data plugin allows you to create a comparision table of Indian Mutual Funds with latest data.
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
There were no executable files found in this plugin953 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 147 | 207 | 542 |
CSS | 2 | 13 | 9 | 245 |
JavaScript | 3 | 13 | 58 | 166 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
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 | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 2 | |
▷ Static methods | 2 | 100.00% |
▷ Public methods | 2 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 23 | |
▷ Named functions | 23 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/js/img/mfd-tinymce-btn.png | 0.41KB | 0.36KB | ▼ 12.71% |