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.25MB] [CPU: ▼5.86ms] Passed 4 tests
This is a short check of server-side resources used by Import Property Listings into Realia
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.72 ▲0.26 | 39.27 ▲1.92 |
Dashboard /wp-admin | 3.55 ▲0.25 | 46.45 ▼5.34 |
Posts /wp-admin/edit.php | 3.67 ▲0.31 | 49.27 ▲5.05 |
Add New Post /wp-admin/post-new.php | 6.14 ▲0.25 | 84.08 ▼19.97 |
Media Library /wp-admin/upload.php | 3.48 ▲0.25 | 35.57 ▼0.06 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Import Property Listings into Realia
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,809 ▲48 | 14.25 ▼0.29 | 1.65 ▲0.02 | 42.99 ▲4.70 |
Dashboard /wp-admin | 2,212 ▲41 | 5.57 ▲0.00 | 82.15 ▼7.11 | 36.30 ▼3.99 |
Posts /wp-admin/edit.php | 2,121 ▲21 | 2.01 ▼0.02 | 34.45 ▼4.98 | 34.03 ▼0.35 |
Add New Post /wp-admin/post-new.php | 1,541 ▲15 | 22.92 ▼0.36 | 674.75 ▲7.07 | 57.07 ▼3.90 |
Media Library /wp-admin/upload.php | 1,420 ▲20 | 4.21 ▲0.09 | 96.93 ▼15.67 | 42.24 ▼3.65 |
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
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, 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
The following issues need your attention
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/plugin.php' (include_path='.:/usr/share/php') in wp-content/plugins/realia-xml-csv-property-listings-import/realia-add-on.php on line 16
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/realia-xml-csv-property-listings-import/realia-add-on.php on line 16
- > PHP Warning
require_once(ABSPATHwp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/realia-xml-csv-property-listings-import/realia-add-on.php on line 16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
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: real estate, realia, import realia properties, import real estate, import realia listings...
realia-xml-csv-property-listings-import/realia-add-on.php 92% from 13 tests
"Import Property Listings into Realia" version 2.0.9's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("realia-xml-csv-property-listings-import.php" instead of "realia-add-on.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin1,534 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 608 | 137 | 1,532 |
Markdown | 1 | 1 | 0 | 2 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.67 |
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 | 5 | |
▷ Named functions | 5 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin