Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.34MB] [CPU: ▼4.18ms] Passed 4 tests
This is a short check of server-side resources used by ImmoToolBox Connect
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.76 ▲0.30 | 29.62 ▼10.07 |
Dashboard /wp-admin | 3.71 ▲0.40 | 50.59 ▼0.25 |
Posts /wp-admin/edit.php | 3.76 ▲0.40 | 50.27 ▲1.44 |
Add New Post /wp-admin/post-new.php | 6.23 ▲0.34 | 91.76 ▼7.85 |
Media Library /wp-admin/upload.php | 3.57 ▲0.34 | 38.47 ▲4.16 |
Clear cache /wp-admin/admin.php?page=itbconnect_clearcache | 3.54 | 34.54 |
ITB Connect /wp-admin/admin.php?page=itbconnect | 3.51 | 327.64 |
Server storage [IO: ▲4.49MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 2,799 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
itbconnect_data |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for ImmoToolBox Connect
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,048 ▲313 | 14.27 ▼0.53 | 19.04 ▲17.19 | 54.30 ▲7.48 |
Dashboard /wp-admin | 2,230 ▲42 | 5.90 ▲1.03 | 99.20 ▼10.17 | 43.63 ▼0.29 |
Posts /wp-admin/edit.php | 2,116 ▲27 | 2.06 ▲0.04 | 41.47 ▲0.93 | 36.07 ▼0.32 |
Add New Post /wp-admin/post-new.php | 6,607 ▲5,093 | 29.37 ▲11.71 | 912.54 ▲278.58 | 62.41 ▲5.47 |
Media Library /wp-admin/upload.php | 1,415 ▲30 | 4.17 ▼0.01 | 101.11 ▼2.45 | 42.16 ▼4.19 |
Clear cache /wp-admin/admin.php?page=itbconnect_clearcache | 787 | 2.09 | 24.12 | 23.90 |
ITB Connect /wp-admin/admin.php?page=itbconnect | 1,112 | 2.05 | 24.41 | 26.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/admin.php?page=itbconnect
- > Warning in wp-content/plugins/immotoolbox-connect/includes/ITBConnect.php+133
file_get_contents(https://clientapi.immotoolbox.com/api/properties?ori=wp.com&wp_version=6.3.1): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden
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
- 912× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Twig_Function' not found in wp-content/plugins/immotoolbox-connect/includes8.0/vendor/twig/twig/lib/Twig/Function/Node.php:23
- > PHP Fatal error
Uncaught Error: Class 'Twig_Filter' not found in wp-content/plugins/immotoolbox-connect/includes8.0/vendor/twig/twig/lib/Twig/Filter/Node.php:23
- > PHP Fatal error
Uncaught Error: Interface 'Twig\\TokenParser\\TokenParserInterface' not found in wp-content/plugins/immotoolbox-connect/includes8.2/vendor/twig/twig/src/TokenParser/AbstractTokenParser.php:21
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/immotoolbox-connect/includeslegacy/vendor/twig/twig/test/Twig/Tests/ContainerRuntimeLoaderTest.php:12
- > PHP Fatal error
Uncaught Error: Interface 'Twig\\Sandbox\\SecurityPolicyInterface' not found in wp-content/plugins/immotoolbox-connect/includes8.2/vendor/twig/twig/src/Sandbox/SecurityPolicy.php:23
- > PHP Fatal error
Uncaught Error: Class 'Twig_Extension' not found in wp-content/plugins/immotoolbox-connect/includes/vendor/twig/twig/lib/Twig/Extension/Debug.php:12
- > PHP Fatal error
Uncaught Error: Class 'Twig\\Extension\\AbstractExtension' not found in wp-content/plugins/immotoolbox-connect/includes8.0/vendor/twig/twig/src/Extension/OptimizerExtension.php:19
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/immotoolbox-connect/includes8.0/vendor/twig/extensions/test/Twig/Tests/Grammar/TagTest.php:12
- > PHP Fatal error
Uncaught Error: Interface 'Twig_FilterInterface' not found in wp-content/plugins/immotoolbox-connect/includes8.0/vendor/twig/twig/lib/Twig/Filter.php:25
- > PHP Fatal error
Uncaught Error: Class 'Twig_Node_Expression_Unary' not found in wp-content/plugins/immotoolbox-connect/includes/vendor/twig/twig/lib/Twig/Node/Expression/Unary/Not.php:12
- > 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 describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Donate link: Invalid url: ""
immotoolbox-connect/immotoolbox-connect.php Passed 13 tests
This is the main PHP file of "ImmoToolBox Connect" version 1.3.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
57 characters long description:
Displays ImmoToolBox real estate listings in your website
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
There were no executable files found in this plugin63,035 lines of code in 1,333 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1,112 | 11,807 | 17,678 | 51,096 |
reStructuredText | 154 | 4,297 | 3,731 | 6,018 |
PO File | 3 | 582 | 648 | 1,440 |
JavaScript | 2 | 39 | 1 | 1,200 |
Twig | 22 | 50 | 1 | 996 |
JSON | 13 | 0 | 0 | 951 |
C | 1 | 171 | 186 | 860 |
YAML | 5 | 59 | 2 | 205 |
Markdown | 4 | 61 | 0 | 147 |
XML | 2 | 6 | 0 | 52 |
CSS | 2 | 1 | 0 | 33 |
HTML | 11 | 0 | 0 | 17 |
C/C++ Header | 1 | 7 | 13 | 15 |
m4 | 1 | 2 | 1 | 5 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 4.40 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 161.00 |
Average method complexity | 2.34 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 89.00 |
Code structure | ||
---|---|---|
Namespaces | 29 | |
Interfaces | 126 | |
Traits | 0 | |
Classes | 1,786 | |
▷ Abstract classes | 63 | 3.53% |
▷ Concrete classes | 1,723 | 96.47% |
▷ Final classes | 64 | 3.71% |
Methods | 5,069 | |
▷ Static methods | 189 | 3.73% |
▷ Public methods | 4,441 | 87.61% |
▷ Protected methods | 478 | 9.43% |
▷ Private methods | 150 | 2.96% |
Functions | 410 | |
▷ Named functions | 369 | 90.00% |
▷ Anonymous functions | 41 | 10.00% |
Constants | 202 | |
▷ Global constants | 9 | 4.46% |
▷ Class constants | 193 | 95.54% |
▷ Public constants | 193 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin