Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Please fix the following installer errors
- This plugin did not install gracefully
- > Notice in wp-content/plugins/realtypack-core/controllers/admin/dashboard/plugin.php+78
Trying to access array offset on value of type bool
Server metrics [RAM: ▲0.63MB] [CPU: ▲83.45ms] Passed 4 tests
Analyzing server-side resources used by Realty Pack Core
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.48 ▲1.02 | 129.48 ▲86.77 |
Dashboard /wp-admin | 4.69 ▲1.38 | 161.30 ▲111.14 |
Posts /wp-admin/edit.php | 4.69 ▲1.33 | 187.09 ▲141.32 |
Add New Post /wp-admin/post-new.php | 4.69 ▼1.20 | 148.67 ▲46.57 |
Media Library /wp-admin/upload.php | 4.69 ▲1.46 | 126.85 ▲89.32 |
System Status /wp-admin/admin.php?page=realty-pack-core-system-status | 4.69 | 151.03 |
Tools /wp-admin/edit.php?post_type=acf-field-group&page=acf-tools | 4.69 | 147.12 |
Tutorials /wp-admin/admin.php?page=realty-pack-core-tutorials | 4.69 | 129.65 |
RealtyPack /wp-admin/admin.php?page=realty-pack-core | 4.69 | 166.76 |
Field Groups /wp-admin/edit.php?post_type=acf-field-group | 4.69 | 142.12 |
Info /wp-admin/edit.php?post_type=acf-field-group&page=acf-settings-info | 4.69 | 129.86 |
All Packages /wp-admin/edit.php?post_type=rtfc_pricing | 4.69 | 108.00 |
Add New /wp-admin/post-new.php?post_type=acf-field-group | 4.69 | 139.89 |
Demo Importer /wp-admin/admin.php?page=realty-pack-core-importer | 4.69 | 120.32 |
Install Plugins /wp-admin/themes.php?page=tgmpa-install-plugins | 4.83 | 108.00 |
Server storage [IO: ▲17.54MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 816 new files
Database: no new tables, 10 new options
New WordPress options |
---|
elementor_cpt_support |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
acf_version |
widget_rtpc\controllers\admin\widgets\rtpc_controllers_admin_widgets_posts |
widget_theysaidso_widget |
can_compress_scripts |
widget_rtpc\controllers\admin\widgets\rtpc_controllers_admin_widgets_social |
Browser metrics Passed 4 tests
Checking browser requirements for Realty Pack Core
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,028 ▲282 | 14.34 ▼0.31 | 8.38 ▲6.48 | 35.61 ▼8.87 |
Dashboard /wp-admin | 2,306 ▲118 | 5.17 ▲0.27 | 113.90 ▼7.97 | 80.90 ▲33.14 |
Posts /wp-admin/edit.php | 2,207 ▲118 | 2.26 ▲0.21 | 33.43 ▼2.54 | 33.26 ▼4.33 |
Add New Post /wp-admin/post-new.php | 6,742 ▲5,228 | 28.23 ▲10.58 | 1,077.65 ▲395.17 | 43.50 ▼16.68 |
Media Library /wp-admin/upload.php | 2,030 ▲642 | 8.51 ▲4.18 | 217.66 ▲100.44 | 89.89 ▲41.71 |
System Status /wp-admin/admin.php?page=realty-pack-core-system-status | 1,302 | 1.86 | 26.76 | 42.40 |
Tools /wp-admin/edit.php?post_type=acf-field-group&page=acf-tools | 1,136 | 3.30 | 51.20 | 32.55 |
Tutorials /wp-admin/admin.php?page=realty-pack-core-tutorials | 1,130 | 1.84 | 26.84 | 32.32 |
RealtyPack /wp-admin/admin.php?page=realty-pack-core | 1,280 | 1.85 | 26.77 | 37.57 |
Field Groups /wp-admin/edit.php?post_type=acf-field-group | 1,276 | 2.93 | 49.26 | 38.25 |
Info /wp-admin/edit.php?post_type=acf-field-group&page=acf-settings-info | 1,136 | 1.84 | 25.61 | 68.53 |
All Packages /wp-admin/edit.php?post_type=rtfc_pricing | 1,180 | 2.25 | 33.67 | 32.80 |
Add New /wp-admin/post-new.php?post_type=acf-field-group | 2,307 | 3.78 | 77.23 | 92.53 |
Demo Importer /wp-admin/admin.php?page=realty-pack-core-importer | 1,088 | 1.85 | 26.58 | 29.10 |
Install Plugins /wp-admin/themes.php?page=tgmpa-install-plugins | 1,160 | 1.91 | 33.40 | 31.00 |
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
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/realtypack-core/controllers/admin/dashboard/plugin.php+78
Trying to access array offset on value of type bool
- Zombie WordPress options were found after uninstall: 10 options
- widget_theysaidso_widget
- elementor_cpt_support
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_rtpc\controllers\admin\widgets\rtpc_controllers_admin_widgets_posts
- widget_rtpc\controllers\admin\widgets\rtpc_controllers_admin_widgets_social
- widget_recent-comments
- can_compress_scripts
- acf_version
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
- 25 occurences, only the last one shown
- > GET request to /wp-admin/themes.php?page=tgmpa-install-plugins
- > Notice in wp-content/plugins/realtypack-core/controllers/admin/dashboard/importer.php+80
Trying to access array offset on value of type bool
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=realty-pack-core-importer
- > Warning in wp-content/plugins/realtypack-core/controllers/admin/dashboard/importer.php+133
Invalid argument supplied for foreach()
- > GET request to /wp-admin/admin.php?page=realty-pack-core-importer
- > Notice in wp-content/plugins/realtypack-core/controllers/admin/dashboard/importer.php+102
Undefined variable: demos
- > GET request to /wp-admin/admin.php?page=realty-pack-core-importer
- > Deprecated in wp-content/plugins/realtypack-core/controllers/admin/dashboard/importer.php+144
Non-static method RTPC\Controllers\Admin\Dashboard\RTPC_Controllers_Admin_Dashboard_Boot::header() should not be called statically
- > GET request to /wp-admin/admin.php?page=realty-pack-core-importer
- > Deprecated in wp-content/plugins/realtypack-core/controllers/admin/dashboard/importer.php+147
Non-static method RTPC\Controllers\Admin\Dashboard\RTPC_Controllers_Admin_Dashboard_Boot::footer() should not be called statically
SRP 0% 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 fix the following
- 31× PHP files perform the action of outputting non-empty strings when accessed directly (only 10 are shown):
- > /wp-content/plugins/realtypack-core/views/tpl/admin/importer.php
- > /wp-content/plugins/realtypack-core/views/tpl/widgets/agency/logo.php
- > /wp-content/plugins/realtypack-core/views/tpl/widgets/agent/details.php
- > /wp-content/plugins/realtypack-core/views/tpl/widgets/agency/cover.php
- > /wp-content/plugins/realtypack-core/views/tpl/widgets/testimonial.php
- > /wp-content/plugins/realtypack-core/views/tpl/admin/plugins.php
- > /wp-content/plugins/realtypack-core/views/tpl/widgets/single/title.php
- > /wp-content/plugins/realtypack-core/app/kirki/controls/views/select.php
- > /wp-content/plugins/realtypack-core/app/kirki/controls/views/code.php
- > /wp-content/plugins/realtypack-core/views/tpl/widgets/iconbox-carousel.php
- 416× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/realtypack-core/controllers/elementor/widgets/single/agent.php:18
- > PHP Fatal error
Uncaught Error: Class 'RTPC\\controllers\\RTPC_Controllers_Public' not found in wp-content/plugins/realtypack-core/controllers/elementor/modules/advance.php:24
- > PHP Fatal error
Uncaught Error: Class 'RTPC\\Controllers\\Admin\\Dashboard\\RTPC_Controllers_Admin_Dashboard_Boot' not found in wp-content/plugins/realtypack-core/controllers/admin/dashboard/dashboard.php:14
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/realtypack-core/views/tpl/widgets/agency/details.php on line 55
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/realtypack-core/views/tpl/widgets/agent/details.php on line 10
- > PHP Notice
Undefined variable: settings in wp-content/plugins/realtypack-core/views/tpl/widgets/agency/socials.php on line 22
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/realtypack-core/views/tpl/widgets/agent/socials.php on line 28
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/realtypack-core/controllers/elementor/widgets/single/refresh.php:19
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/realtypack-core/views/tpl/widgets/single/details.php on line 16
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/realtypack-core/views/tpl/widgets/single/googlemap.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Add an image for screenshot #8 (Price Package)
realtypack-core/realtypack-core.php 85% from 13 tests
The main file in "Realty Pack Core" v. 1.0.5 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Description: Please keep the plugin description shorter than 140 characters (currently 169 characters long)
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
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
There were no executable files found in this plugin163,145 lines of code in 695 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 45 | 22,541 | 36,581 | 48,731 |
PHP | 457 | 18,042 | 33,340 | 47,682 |
JavaScript | 108 | 10,431 | 9,070 | 36,600 |
CSS | 26 | 2,087 | 209 | 14,681 |
JSON | 5 | 0 | 0 | 8,442 |
Sass | 47 | 1,321 | 116 | 6,693 |
SVG | 4 | 25 | 0 | 256 |
YAML | 1 | 7 | 0 | 27 |
SQL | 1 | 5 | 4 | 19 |
Markdown | 1 | 11 | 0 | 14 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 12.02 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 204.00 |
Average method complexity | 2.97 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 55.00 |
Code structure | ||
---|---|---|
Namespaces | 26 | |
Interfaces | 0 | |
Traits | 2 | |
Classes | 353 | |
▷ Abstract classes | 4 | 1.13% |
▷ Concrete classes | 349 | 98.87% |
▷ Final classes | 14 | 4.01% |
Methods | 1,995 | |
▷ Static methods | 184 | 9.22% |
▷ Public methods | 1,556 | 77.99% |
▷ Protected methods | 409 | 20.50% |
▷ Private methods | 30 | 1.50% |
Functions | 457 | |
▷ Named functions | 433 | 94.75% |
▷ Anonymous functions | 24 | 5.25% |
Constants | 31 | |
▷ Global constants | 24 | 77.42% |
▷ Class constants | 7 | 22.58% |
▷ Public constants | 7 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
34 PNG files occupy 2.04MB with 1.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
views/assets/admin/img/profile.png | 196.25KB | 83.87KB | ▼ 57.26% |
views/assets/admin/img/Group-13@2x.png | 17.00KB | 6.99KB | ▼ 58.90% |
views/assets/img/google-favicon.png | 1.01KB | 1.17KB | 0.00% |
views/assets/admin/img/elementor.png | 47.90KB | 10.26KB | ▼ 78.58% |
views/assets/img/cover.png | 48.05KB | 21.55KB | ▼ 55.15% |