Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼6.11ms] Passed 4 tests
Analyzing server-side resources used by WP Propery Listings
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 44.72 ▲4.89 |
Dashboard /wp-admin | 3.37 ▲0.06 | 43.66 ▼7.87 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 47.41 ▲4.61 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.06 | 80.39 ▼20.82 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 33.12 ▼0.35 |
WP Property Listings /wp-admin/options-general.php?page=wp_property_listings | 3.24 | 28.22 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Propery Listings
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,807 ▲46 | 14.25 ▼0.10 | 1.53 ▼0.07 | 40.25 ▲0.91 |
Dashboard /wp-admin | 2,213 ▲33 | 5.63 ▲0.04 | 92.26 ▲2.79 | 39.40 ▲1.77 |
Posts /wp-admin/edit.php | 2,119 ▲22 | 1.99 ▼0.02 | 42.94 ▲7.04 | 36.78 ▼2.15 |
Add New Post /wp-admin/post-new.php | 6,412 ▲4,872 | 18.65 ▼4.46 | 845.50 ▲238.14 | 68.44 ▲18.72 |
Media Library /wp-admin/upload.php | 1,412 ▲9 | 4.19 ▲0.02 | 95.18 ▼0.95 | 41.70 ▼3.49 |
WP Property Listings /wp-admin/options-general.php?page=wp_property_listings | 802 | 2.04 | 26.08 | 26.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=wp_property_listings
- > Notice in wp-content/plugins/wp-property-listings/wp-property-listings.php+218
Trying to access array offset on value of type bool
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
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/wp-property-listings/wp-property-listings.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Please add an image for screenshot #2 (Select Location, where the slider should appear.)
- Plugin Name: Please specify the plugin name on the first line (
=== wp-property-listings ===
)
wp-property-listings/wp-property-listings.php 92% from 13 tests
Analyzing the main PHP file in "WP Propery Listings" version 1.0.1
It is important to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 249 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin181 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 44 | 21 | 181 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.58 |
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 | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin