Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.48MB] [CPU: ▼142.59ms] Passed 4 tests
An overview of server-side resources used by Property Lot Management System
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.19 ▲0.47 | 37.77 ▲16.07 |
Dashboard /wp-admin | 3.55 ▲0.50 | 59.84 ▲12.50 |
Posts /wp-admin/edit.php | 3.59 ▲0.48 | 48.38 ▲2.36 |
Add New Post /wp-admin/post-new.php | 6.08 ▲0.65 | 89.78 ▼584.50 |
Media Library /wp-admin/upload.php | 3.45 ▲0.45 | 34.48 ▼0.71 |
Add Lot /wp-admin/admin.php?page=add_lot | 3.50 | 34.96 |
Add Property /wp-admin/admin.php?page=add_property | 3.47 | 35.06 |
Property /wp-admin/admin.php?page=list_property | 3.46 | 34.91 |
Edit Lot /wp-admin/admin.php?page=edit_lot | 3.64 | 28.69 |
Install Plugins /wp-admin/themes.php?page=plms-install-plugins | 3.47 | 31.52 |
Lot /wp-admin/admin.php?page=list_lot | 3.49 | 34.39 |
Server storage [IO: ▲0.27MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 27 new files
Database: 5 new tables, no new options
New tables |
---|
wp_property_resources |
wp_lot_inquiry |
wp_lot_resources |
wp_lot |
wp_property |
Browser metrics Passed 4 tests
Property Lot Management System: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,804 ▲208 | 16.14 ▲0.63 | 10.66 ▼0.08 | 44.62 ▼1.65 |
Dashboard /wp-admin | 3,087 ▲150 | 6.32 ▲0.19 | 156.09 ▲2.69 | 123.12 ▲8.00 |
Posts /wp-admin/edit.php | 2,869 ▲130 | 2.67 ▼0.05 | 81.04 ▲15.65 | 100.81 ▲11.85 |
Add New Post /wp-admin/post-new.php | 1,583 ▼100 | 18.64 ▲0.11 | 415.52 ▼11.69 | 122.12 ▲15.51 |
Media Library /wp-admin/upload.php | 1,948 ▲141 | 5.26 ▲0.22 | 142.64 ▼12.43 | 131.16 ▲18.50 |
Add Lot /wp-admin/admin.php?page=add_lot | 2,792 | 8.13 | 195.86 | 138.50 |
Add Property /wp-admin/admin.php?page=add_property | 2,391 | 8.01 | 177.85 | 134.80 |
Property /wp-admin/admin.php?page=list_property | 1,547 | 2.67 | 71.69 | 84.71 |
Edit Lot /wp-admin/admin.php?page=edit_lot | 1,600 | 2.79 | 69.65 | 80.64 |
Install Plugins /wp-admin/themes.php?page=plms-install-plugins | 1,366 | 2.58 | 60.71 | 72.78 |
Lot /wp-admin/admin.php?page=list_lot | 1,600 | 2.79 | 70.39 | 78.12 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
This plugin's uninstaller ran successfully
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=add_lot
- > Notice in wp-content/plugins/plms/admin/lot-add.php+284
Undefined variable: lot_title
- > GET request to /wp-admin/admin.php?page=add_lot
- > Notice in wp-content/plugins/plms/admin/lot-add.php+291
Undefined variable: lot_no
- > GET request to /wp-admin/admin.php?page=add_lot
- > Notice in wp-content/plugins/plms/admin/lot-add.php+295
Undefined variable: lot_area
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=add_lot
- > Notice in wp-content/plugins/plms/admin/lot-add.php+306
Undefined variable: lot_status
- > GET request to /wp-admin/admin.php?page=add_lot
- > Notice in wp-content/plugins/plms/admin/lot-add.php+316
Undefined variable: lot_eoi_user
- > GET request to /wp-admin/admin.php?page=add_lot
- > Notice in wp-content/plugins/plms/admin/lot-add.php+381
Undefined variable: lot_price
- > GET request to /wp-admin/admin.php?page=add_lot
- > Notice in wp-content/plugins/plms/admin/lot-add.php+386
Undefined variable: lot_house_size
- > GET request to /wp-admin/admin.php?page=add_lot
- > Notice in wp-content/plugins/plms/admin/lot-add.php+390
Undefined variable: lot_build_price
- > GET request to /wp-admin/admin.php?page=add_lot
- > Notice in wp-content/plugins/plms/admin/lot-add.php+395
Undefined variable: lot_house_design
- > GET request to /wp-admin/admin.php?page=add_lot
- > Notice in wp-content/plugins/plms/admin/lot-add.php+399
Undefined variable: lot_exc_builder
- > GET request to /wp-admin/admin.php?page=add_lot
- > Notice in wp-content/plugins/plms/admin/lot-add.php+404
Undefined variable: lot_package_price
- > GET request to /wp-admin/admin.php?page=add_lot
- > Notice in wp-content/plugins/plms/admin/lot-add.php+408
Undefined variable: lot_th_hl
- > GET request to /wp-admin/admin.php?page=add_lot
- > Notice in wp-content/plugins/plms/admin/lot-add.php+413
Undefined variable: lot_type
- > GET request to /wp-admin/admin.php?page=add_lot
- > Notice in wp-content/plugins/plms/admin/lot-add.php+417
Undefined variable: lot_legal_rep
- > GET request to /wp-admin/admin.php?page=add_lot
- > Notice in wp-content/plugins/plms/admin/lot-add.php+427
Undefined variable: lot_description
- 6 occurences, only the last one shown
- > GET request to /wp-admin/themes.php?page=plms-install-plugins
- > POST request to /wp-admin/admin-ajax.php
- > Notice in wp-content/plugins/plms/property-lot.php+329
Undefined index: txtid
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=edit_lot
- > Notice in wp-content/plugins/plms/admin/lot-edit.php+2
Undefined index: action
- > GET request to /wp-admin/admin.php?page=add_property
- > Notice in wp-content/plugins/plms/admin/property-add.php+202
Undefined variable: pro_title
- > GET request to /wp-admin/admin.php?page=add_property
- > Notice in wp-content/plugins/plms/admin/property-add.php+207
Undefined variable: pro_total_lots
- > GET request to /wp-admin/admin.php?page=add_property
- > Notice in wp-content/plugins/plms/admin/property-add.php+212
Undefined variable: pro_cons_timeline
- > GET request to /wp-admin/admin.php?page=add_property
- > Notice in wp-content/plugins/plms/admin/property-add.php+217
Undefined variable: pro_start_price
- > GET request to /wp-admin/admin.php?page=add_property
- > Notice in wp-content/plugins/plms/admin/property-add.php+222
Undefined variable: pro_rental_app
- > GET request to /wp-admin/admin.php?page=add_property
- > Notice in wp-content/plugins/plms/admin/property-add.php+227
Undefined variable: pro_site_area
- > GET request to /wp-admin/admin.php?page=add_property
- > Notice in wp-content/plugins/plms/admin/property-add.php+254
Undefined variable: pro_description
- > GET request to /wp-admin/admin.php?page=add_property
- > Notice in wp-content/plugins/plms/admin/property-add.php+264
Undefined variable: pro_country
- > GET request to /wp-admin/admin.php?page=add_property
- > Notice in wp-content/plugins/plms/admin/property-add.php+272
Undefined variable: pro_state
- > GET request to /wp-admin/admin.php?page=add_property
- > Notice in wp-content/plugins/plms/admin/property-add.php+279
Undefined variable: pro_city
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
Please fix the following items
- 5× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/plms/class-tgm-plugin-activation.php:161
- > PHP Fatal error
Uncaught Error: Call to undefined function sanitize_text_field() in wp-content/plugins/plms/admin/lot-edit.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function sanitize_text_field() in wp-content/plugins/plms/admin/property-add.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/plms/class-tgm-plugin-activation.php:161
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/plms/admin/lot-add.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
3 plugin tags: realestate, lot, property
plms/property-lot.php 92% from 13 tests
The entry point to "Property Lot Management System" version 1.0 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("plms.php" instead of "property-lot.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
Everything looks great! No dangerous files found in this plugin4,938 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 896 | 827 | 3,498 |
CSS | 2 | 40 | 50 | 1,226 |
JavaScript | 2 | 39 | 8 | 214 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 46.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 112.00 |
Average method complexity | 4.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 38.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 84 | |
▷ Static methods | 1 | 1.19% |
▷ Public methods | 78 | 92.86% |
▷ Protected methods | 6 | 7.14% |
▷ Private methods | 0 | 0.00% |
Functions | 31 | |
▷ Named functions | 31 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
9 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/alpha20.png | 0.91KB | 0.09KB | ▼ 89.70% |
images/fullscreen-exit.png | 0.41KB | 0.30KB | ▼ 25.71% |
images/arrow-up.png | 1.00KB | 0.11KB | ▼ 89.01% |
images/alpha50.png | 0.91KB | 0.09KB | ▼ 89.70% |
images/fullscreen.png | 0.42KB | 0.32KB | ▼ 23.33% |