Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.21MB] [CPU: ▲1.79ms] Passed 4 tests
Analyzing server-side resources used by Properties
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.21 | 36.47 ▼0.71 |
Dashboard /wp-admin | 3.51 ▲0.21 | 51.34 ▲1.71 |
Posts /wp-admin/edit.php | 3.64 ▲0.28 | 46.52 ▲0.76 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.21 | 103.15 ▲9.83 |
Media Library /wp-admin/upload.php | 3.43 ▲0.21 | 40.36 ▲5.40 |
Settings /wp-admin/edit.php?post_type=property&page=properties_plugin | 3.45 | 41.70 |
Complexes /wp-admin/edit-tags.php?taxonomy=property_complex&post_type=property | 3.43 | 35.32 |
Collections /wp-admin/edit-tags.php?taxonomy=property_collection&post_type=property | 3.43 | 35.76 |
Areas /wp-admin/edit-tags.php?taxonomy=property_area&post_type=property | 3.43 | 35.83 |
Add New /wp-admin/post-new.php?post_type=property | 3.57 | 54.88 |
Types /wp-admin/edit-tags.php?taxonomy=property_type&post_type=property | 3.43 | 43.21 |
All Properties /wp-admin/edit.php?post_type=property | 3.49 | 38.51 |
Server storage [IO: ▲0.08MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Properties
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,850 ▲115 | 13.15 ▼1.50 | 1.67 ▼0.02 | 39.20 ▼5.04 |
Dashboard /wp-admin | 2,253 ▲67 | 5.83 ▲0.86 | 97.76 ▼8.65 | 43.05 ▲0.60 |
Posts /wp-admin/edit.php | 2,133 ▲47 | 2.00 ▲0.03 | 37.92 ▲4.45 | 34.24 ▼0.29 |
Add New Post /wp-admin/post-new.php | 1,575 ▲41 | 18.20 ▼4.90 | 642.42 ▼18.07 | 62.47 ▲15.65 |
Media Library /wp-admin/upload.php | 1,438 ▲47 | 4.22 ▲0.03 | 98.79 ▼1.26 | 42.94 ▼1.79 |
Settings /wp-admin/edit.php?post_type=property&page=properties_plugin | 949 | 2.31 | 35.84 | 35.30 |
Complexes /wp-admin/edit-tags.php?taxonomy=property_complex&post_type=property | 1,278 | 2.13 | 27.75 | 27.24 |
Collections /wp-admin/edit-tags.php?taxonomy=property_collection&post_type=property | 1,281 | 2.14 | 25.34 | 26.56 |
Areas /wp-admin/edit-tags.php?taxonomy=property_area&post_type=property | 1,306 | 2.14 | 25.91 | 25.94 |
Add New /wp-admin/post-new.php?post_type=property | 2,596 | 7.97 | 171.68 | 64.01 |
Types /wp-admin/edit-tags.php?taxonomy=property_type&post_type=property | 1,306 | 2.13 | 25.91 | 27.26 |
All Properties /wp-admin/edit.php?post_type=property | 1,157 | 1.94 | 30.00 | 35.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
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
Good news, no errors were detected
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 take a closer look at the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/properties/properties.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration Passed 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
8 plugin tags: real estate properties, real estate, property, cms, properties...
properties/properties.php Passed 13 tests
The main PHP script in "Properties" version 0.1.4 is automatically included on every request by WordPress
114 characters long description:
Adds new content type to your website - Properties. Allows you to publish and organize real estate property pages.
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 detected1,025 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 82 | 106 | 618 |
PO File | 1 | 139 | 152 | 316 |
CSS | 2 | 0 | 0 | 56 |
JavaScript | 1 | 0 | 0 | 35 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 10.67 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 1.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 43 | |
▷ Static methods | 41 | 95.35% |
▷ Public methods | 43 | 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 | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin