Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The following installer errors require your attention
- Install procedure validation failed for this plugin
- > Deprecated in wp-includes/class-wp-hook.php+307
Non-static method Bepro_listings_realestate::bepro_listings_realestate_activate() should not be called statically
Server metrics [RAM: ▲0.05MB] [CPU: ▼297.59ms] Passed 4 tests
This is a short check of server-side resources used by BePro Listings Real Estate
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.08 | 54.91 ▲5.67 |
Dashboard /wp-admin | 3.49 ▲0.08 | 33.95 ▼0.90 |
Posts /wp-admin/edit.php | 3.72 ▲0.08 | 38.53 ▲1.74 |
Add New Post /wp-admin/post-new.php | 6.95 ▼0.02 | 92.70 ▼1,186.00 |
Media Library /wp-admin/upload.php | 3.37 ▲0.07 | 22.81 ▼5.18 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 6 new files
Database: 2 new tables, 1 new option
New tables |
---|
wp_bepro_listings_realestate |
wp_bepro_listings_realestate_types |
New WordPress options |
---|
bepro_listings_realestate |
Browser metrics Passed 4 tests
BePro Listings Real Estate: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,795 ▲41 | 15.98 ▲0.31 | 5.88 ▼0.58 | 2.86 ▼0.36 |
Dashboard /wp-admin | 2,895 ▲37 | 6.12 ▼0.12 | 119.33 ▼22.34 | 153.53 ▼6.81 |
Posts /wp-admin/edit.php | 2,694 ▲3 | 3.36 ▲0.00 | 61.99 ▼2.98 | 132.60 ▼8.91 |
Add New Post /wp-admin/post-new.php | 1,661 ▼50 | 16.87 ▼4.59 | 434.43 ▼67.15 | 158.02 ▼4.49 |
Media Library /wp-admin/upload.php | 1,698 ▼0 | 5.47 ▼0.05 | 145.17 ▼5.55 | 188.70 ▲0.06 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin does not fully uninstall, leaving 2 tables in the database
- wp_bepro_listings_realestate
- wp_bepro_listings_realestate_types
- This plugin does not fully uninstall, leaving 1 option in the database
- bepro_listings_realestate
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
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
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/bepro-listings-real-estate/admin_tabs/tab-realestate.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/bepro-listings-real-estate/admin_tabs/realestate.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: real estate, apartment, bepro listings, property, rent
bepro-listings-real-estate/bepro_listings_realestate.php 92% from 13 tests
Analyzing the main PHP file in "BePro Listings Real Estate" version 1.0.22
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("bepro-listings-real-estate.php" instead of "bepro_listings_realestate.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
Everything looks great! No dangerous files found in this plugin246 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 55 | 36 | 225 |
CSS | 1 | 0 | 0 | 21 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 51.00 |
▷ Minimum class complexity | 51.00 |
▷ Maximum class complexity | 51.00 |
Average method complexity | 3.94 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.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 | 17 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 17 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
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
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/bepro_listings_realestate_sold.png | 5.78KB | 3.28KB | ▼ 43.29% |