Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.23MB] [CPU: ▲0.44ms] Passed 4 tests
This is a short check of server-side resources used by House Manager – Easy Renter Management System for WordPress
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.22 | 38.03 ▼2.98 |
Dashboard /wp-admin | 3.59 ▲0.28 | 53.86 ▲1.63 |
Posts /wp-admin/edit.php | 3.64 ▲0.28 | 52.57 ▲1.76 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.22 | 101.88 ▲1.34 |
Media Library /wp-admin/upload.php | 3.45 ▲0.22 | 36.97 ▲3.60 |
Server storage [IO: ▲1.57MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 69 new files
Database: 5 new tables, 8 new options
New tables |
---|
wp_hm_invoices |
wp_hm_flats |
wp_hm_renters |
wp_hm_invoice_items |
wp_hm_settings |
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
hm_version |
widget_recent-comments |
hm_db_version |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for House Manager – Easy Renter Management System for WordPress
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲34 | 14.19 ▼0.45 | 1.84 ▼0.10 | 45.51 ▲3.97 |
Dashboard /wp-admin | 2,195 ▲24 | 5.58 ▼0.06 | 85.50 ▼17.13 | 38.58 ▼13.31 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 2.01 ▲0.00 | 36.88 ▼2.77 | 33.70 ▼4.71 |
Add New Post /wp-admin/post-new.php | 1,539 ▼6 | 23.07 ▲0.02 | 627.73 ▼62.20 | 55.65 ▼3.09 |
Media Library /wp-admin/upload.php | 1,406 ▲6 | 4.21 ▲0.03 | 99.98 ▼1.65 | 44.60 ▲2.58 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie tables were found after uninstall: 5 tables
- wp_hm_renters
- wp_hm_settings
- wp_hm_invoice_items
- wp_hm_flats
- wp_hm_invoices
- The uninstall procedure has failed, leaving 8 options in the database
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- hm_db_version
- hm_version
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
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
Everything seems fine, however this is by no means an exhaustive test
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
Almost there! Just fix the following items
- 23× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/house-manager/public/templates/partials/footer.php:8
- > PHP Fatal error
Uncaught Error: Class 'HM_Controller' not found in wp-content/plugins/house-manager/public/templates/single-renter.php:3
- > PHP Fatal error
Uncaught Error: Class 'HM_Controller' not found in wp-content/plugins/house-manager/public/templates/payment.php:10
- > PHP Warning
Use of undefined constant HM_PUBLIC_DIR - assumed 'HM_PUBLIC_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/house-manager/public/templates/partials/footer.php on line 1
- > PHP Fatal error
Uncaught Error: Class 'HM_Controller' not found in wp-content/plugins/house-manager/public/templates/dashboard.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function hm_current_user_id() in wp-content/plugins/house-manager/public/templates/renter-profile.php:4
- > PHP Fatal error
Uncaught Error: Class 'HM_Controller' not found in wp-content/plugins/house-manager/public/templates/flats.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/house-manager/public/templates/partials/header.php:6
- > PHP Fatal error
Uncaught Error: Class 'HM_Controller' not found in wp-content/plugins/house-manager/public/templates/payment-options.php:3
- > PHP Fatal error
Uncaught Error: Class 'HM_Controller' not found in wp-content/plugins/house-manager/public/templates/new-invoice.php:8
- > 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 on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Screenshots: These screenshots lack descriptions #1, #21, #22, #23, #24 in house-manager/assets to your readme.txt
house-manager/house-manager.php Passed 13 tests
The main PHP script in "House Manager – Easy Renter Management System for WordPress" version 1.0.8.4 is automatically included on every request by WordPress
39 characters long description:
Manage your Property and Renter easily!
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected11,438 lines of code in 45 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 8 | 1,134 | 1,511 | 8,806 |
PHP | 31 | 569 | 438 | 2,224 |
CSS | 4 | 81 | 26 | 389 |
PO File | 1 | 1 | 1 | 18 |
Markdown | 1 | 1 | 0 | 1 |
PHP code Passed 2 tests
This is a very shot review of 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.25 |
Average class complexity | 11.73 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 79.00 |
Average method complexity | 2.74 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 68 | |
▷ Static methods | 21 | 30.88% |
▷ Public methods | 58 | 85.29% |
▷ Protected methods | 2 | 2.94% |
▷ Private methods | 8 | 11.76% |
Functions | 18 | |
▷ Named functions | 18 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 8 | 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
17 PNG files occupy 0.25MB with 0.19MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/images/icons/overview.png | 20.49KB | 1.60KB | ▼ 92.19% |
public/images/icons/invoice.png | 15.38KB | 0.24KB | ▼ 98.42% |
public/css/images/ui-icons_555555_256x240.png | 6.82KB | 4.17KB | ▼ 38.82% |
public/images/icons/edit.png | 16.00KB | 0.66KB | ▼ 95.90% |
public/images/icons/tick.png | 19.00KB | 9.04KB | ▼ 52.45% |