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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼5.71ms] Passed 4 tests
Analyzing server-side resources used by VW Property Listing
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 39.11 ▼7.30 |
Dashboard /wp-admin | 3.37 ▲0.07 | 45.27 ▼8.55 |
Posts /wp-admin/edit.php | 3.42 ▲0.07 | 48.67 ▲1.49 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 88.90 ▼8.49 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 35.37 ▲2.85 |
Add New /wp-admin/post-new.php?post_type=vplaproperties | 3.44 | 55.41 |
Properties /wp-admin/edit.php?post_type=vplaproperties | 3.34 | 38.55 |
Properties Packages /wp-admin/edit-tags.php?taxonomy=vplapropertiescat&post_type=vplaproperties | 3.29 | 33.58 |
Server storage [IO: ▲0.43MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
VW Property Listing: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,877 ▲142 | 13.19 ▼1.18 | 1.84 ▼0.04 | 40.31 ▼9.33 |
Dashboard /wp-admin | 2,255 ▲67 | 4.89 ▲0.01 | 108.29 ▼8.34 | 32.97 ▼15.88 |
Posts /wp-admin/edit.php | 2,135 ▲46 | 2.06 ▲0.04 | 37.16 ▲1.10 | 29.17 ▼6.33 |
Add New Post /wp-admin/post-new.php | 1,569 ▲36 | 23.35 ▼0.13 | 667.65 ▲22.03 | 63.39 ▲5.26 |
Media Library /wp-admin/upload.php | 1,440 ▲55 | 4.22 ▲0.01 | 94.86 ▼7.06 | 45.17 ▼0.29 |
Add New /wp-admin/post-new.php?post_type=vplaproperties | 2,824 | 7.73 | 185.07 | 72.19 |
Properties /wp-admin/edit.php?post_type=vplaproperties | 1,152 | 1.95 | 30.57 | 28.10 |
Properties Packages /wp-admin/edit-tags.php?taxonomy=vplapropertiescat&post_type=vplaproperties | 1,314 | 2.26 | 28.20 | 24.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 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)
Everything seems fine, however this is by no means an exhaustive test
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 fix the following
- 4× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/vw-property-listing/show-listing.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_role() in wp-content/plugins/vw-property-listing/agent-options.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/vw-property-listing/listing-options.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/vw-property-listing/add-tabs.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Screenshots: No descriptions were found for these screenshots #3, #4 in vw-property-listing/assets to your readme.txt
vw-property-listing/index.php 92% from 13 tests
Analyzing the main PHP file in "VW Property Listing" version 1.3
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("vw-property-listing.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin255 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 33 | 57 | 228 |
CSS | 1 | 0 | 1 | 27 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
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 | 12 | |
▷ Named functions | 12 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
4 PNG files occupy 0.42MB with 0.27MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/screenshot2.png | 166.94KB | 60.20KB | ▼ 63.94% |
images/screenshot3.png | 97.56KB | 35.85KB | ▼ 63.25% |
images/screenshot1.png | 68.71KB | 24.94KB | ▼ 63.71% |
images/screenshot4.png | 93.42KB | 33.95KB | ▼ 63.66% |