Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.48MB] [CPU: ▲0.06ms] Passed 4 tests
A check of server-side resources used by Import Property Listings into WP Residence
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.99 ▲0.52 | 45.52 ▲2.91 |
Dashboard /wp-admin | 3.82 ▲0.51 | 54.77 ▲0.97 |
Posts /wp-admin/edit.php | 3.87 ▲0.51 | 58.76 ▲10.37 |
Add New Post /wp-admin/post-new.php | 6.34 ▲0.45 | 101.00 ▼8.47 |
Media Library /wp-admin/upload.php | 3.68 ▲0.45 | 41.85 ▲4.82 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Import Property Listings into WP Residence
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,864 ▲103 | 14.25 ▼0.12 | 1.93 ▲0.21 | 38.01 ▼2.50 |
Dashboard /wp-admin | 2,227 ▲50 | 5.62 ▲0.02 | 92.69 ▼0.93 | 46.17 ▼1.74 |
Posts /wp-admin/edit.php | 2,133 ▲33 | 1.99 ▼0.02 | 43.65 ▲9.02 | 50.64 ▲14.91 |
Add New Post /wp-admin/post-new.php | 1,402 ▼126 | 21.41 ▼1.72 | 578.23 ▼132.39 | 35.90 ▼22.34 |
Media Library /wp-admin/upload.php | 1,429 ▲29 | 4.22 ▼0.00 | 99.91 ▼9.24 | 44.42 ▲0.56 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 4× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/wp-residence-add-on-for-wp-all-import/wp-residence-add-on.php:119
- > PHP Fatal error
Uncaught Error: Class 'WPAI_WP_Residence_Property_Importer' not found in wp-content/plugins/wp-residence-add-on-for-wp-all-import/classes/class-importer-location.php:3
- > PHP Fatal error
Uncaught Error: Class 'WPAI_WP_Residence_Add_On_Importer' not found in wp-content/plugins/wp-residence-add-on-for-wp-all-import/classes/class-importer-agents.php:3
- > PHP Fatal error
Uncaught Error: Class 'WPAI_WP_Residence_Add_On_Importer' not found in wp-content/plugins/wp-residence-add-on-for-wp-all-import/classes/class-importer-properties.php:3
- > PHP Fatal error
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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
9 plugin tags: wpresidence, import wpresidence, real estate, import property listings, import real estate listings...
wp-residence-add-on-for-wp-all-import/wp-residence-add-on.php 92% from 13 tests
The entry point to "Import Property Listings into WP Residence" version 1.3.0 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("wp-residence-add-on-for-wp-all-import.php" instead of "wp-residence-add-on.php")
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
Success! There were no dangerous files found in this plugin2,430 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 691 | 189 | 2,428 |
Markdown | 1 | 1 | 0 | 2 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.57 |
Average class complexity | 49.33 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 211.00 |
Average method complexity | 5.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 1 | 11.11% |
Methods | 105 | |
▷ Static methods | 1 | 0.95% |
▷ Public methods | 104 | 99.05% |
▷ Protected methods | 1 | 0.95% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 1 | 33.33% |
▷ Anonymous functions | 2 | 66.67% |
Constants | 4 | |
▷ Global constants | 4 | 100.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
No PNG files were detected