Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
It is recommended to fix the following installer errors
- The plugin did not install without errors
- > Notice in wp-content/plugins/visfeed/visfeed.php+39
Trying to access array offset on value of type bool
Server metrics [RAM: ▲0.07MB] [CPU: ▼8.24ms] Passed 4 tests
Server-side resources used by Visfeed
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.08 | 36.21 ▼6.13 |
Dashboard /wp-admin | 3.39 ▲0.04 | 44.70 ▼16.40 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 48.94 ▲1.54 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 81.77 ▼10.77 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 31.70 ▲0.35 |
Visfeed Options /wp-admin/options-general.php?page=visfeed/visfeed.php | 3.25 | 30.19 |
Server storage [IO: ▲1.58MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 23 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
visfeed_Plugin_options |
Browser metrics Passed 4 tests
Visfeed: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,852 ▲106 | 13.43 ▼0.86 | 15.28 ▲13.31 | 47.50 ▲4.92 |
Dashboard /wp-admin | 2,207 ▲19 | 5.77 ▲0.89 | 94.60 ▼19.41 | 40.87 ▼2.43 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.02 ▼0.02 | 41.31 ▲3.46 | 34.52 ▼1.00 |
Add New Post /wp-admin/post-new.php | 1,545 ▲19 | 18.84 ▼2.08 | 610.23 ▼105.26 | 53.35 ▼7.59 |
Media Library /wp-admin/upload.php | 1,395 ▲4 | 4.21 ▲0.02 | 96.18 ▼15.47 | 43.35 ▼4.36 |
Visfeed Options /wp-admin/options-general.php?page=visfeed/visfeed.php | 921 | 2.03 | 22.97 | 28.66 |
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
The following items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- visfeed_Plugin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=visfeed/visfeed.php
- > Notice in wp-content/plugins/visfeed/visfeed.php+181
Undefined index: visfeed_paymentInstruct_text
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
The following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/visfeed/visfeed.php:29
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: A description for screenshot #7 is missing in visfeed/assets to your readme.txt
visfeed/visfeed.php Passed 13 tests
Analyzing the main PHP file in "Visfeed" version 1.2.2
74 characters long description:
Resource calendar availability and payments for vacation rentals and more.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin25,309 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 8 | 5,491 | 3,159 | 16,590 |
CSS | 6 | 348 | 238 | 8,116 |
PHP | 2 | 134 | 82 | 315 |
SVG | 1 | 0 | 0 | 288 |
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.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 | 24 | |
▷ Named functions | 24 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin