Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.28MB] [CPU: ▲1.48ms] Passed 4 tests
This is a short check of server-side resources used by Import Listings into WP Pro Real Estate 7
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.75 ▲0.28 | 43.11 ▲0.64 |
Dashboard /wp-admin | 3.58 ▲0.28 | 53.01 ▲3.61 |
Posts /wp-admin/edit.php | 3.69 ▲0.34 | 51.20 ▲1.17 |
Add New Post /wp-admin/post-new.php | 6.16 ▲0.27 | 105.28 ▲0.51 |
Media Library /wp-admin/upload.php | 3.50 ▲0.27 | 43.70 ▲3.75 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Import Listings into WP Pro Real Estate 7
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,835 ▲74 | 13.27 ▼1.16 | 4.78 ▲2.41 | 43.63 ▲0.15 |
Dashboard /wp-admin | 2,241 ▲38 | 4.85 ▼1.01 | 110.84 ▲0.40 | 42.91 ▼0.74 |
Posts /wp-admin/edit.php | 2,121 ▲21 | 2.02 ▼0.00 | 40.31 ▼2.16 | 36.11 ▲0.83 |
Add New Post /wp-admin/post-new.php | 1,541 ▼7 | 17.40 ▼5.87 | 739.39 ▲83.76 | 54.42 ▼2.71 |
Media Library /wp-admin/upload.php | 1,420 ▲20 | 4.29 ▲0.03 | 118.73 ▲4.08 | 49.83 ▲1.80 |
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
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Please take a closer look at the following
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Warning
include_once(ABSPATHwp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/wp-pro-real-estate-7-xml-csv-property-listings-import/wp-pro-realestate-7-add-on.php on line 14
- > PHP Warning
include_once(): Failed opening 'ABSPATHwp-admin/includes/plugin.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/wp-pro-real-estate-7-xml-csv-property-listings-import/wp-pro-realestate-7-add-on.php on line 14
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wp-pro-real-estate-7-xml-csv-property-listings-import/rapid-addon.php:958
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-pro-real-estate-7-xml-csv-property-listings-import/wp-pro-realestate-7-add-on.php on line 14
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
9 plugin tags: import property listings, import real estate, import properties, real estate, import wp pro real estate listings...
wp-pro-real-estate-7-xml-csv-property-listings-import/wp-pro-realestate-7-add-on.php 92% from 13 tests
The main PHP file in "Import Listings into WP Pro Real Estate 7" ver. 1.0.6 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("wp-pro-real-estate-7-xml-csv-property-listings-import.php" instead of "wp-pro-realestate-7-add-on.php")
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
There were no executable files found in this plugin1,369 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 500 | 112 | 1,369 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.65 |
Average class complexity | 204.00 |
▷ Minimum class complexity | 204.00 |
▷ Maximum class complexity | 204.00 |
Average method complexity | 5.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 49 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 49 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected