Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.30MB] [CPU: ▼146.98ms] Passed 4 tests
Analyzing server-side resources used by Makelaarsservice
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.11 ▲0.39 | 37.71 ▲16.24 |
Dashboard /wp-admin | 3.39 ▲0.33 | 56.36 ▲1.71 |
Posts /wp-admin/edit.php | 3.45 ▲0.35 | 55.28 ▲5.42 |
Add New Post /wp-admin/post-new.php | 5.68 ▲0.25 | 102.77 ▼597.90 |
Media Library /wp-admin/upload.php | 3.27 ▲0.27 | 37.66 ▲2.84 |
Plaats /wp-admin/edit-tags.php?taxonomy=property_city_agent&post_type=estate_agent | 3.27 | 37.90 |
Makelaars /wp-admin/edit.php?post_type=estate_agent | 3.33 | 35.42 |
Plaats /wp-admin/edit-tags.php?taxonomy=property_city&post_type=estate_property | 3.27 | 30.98 |
Makelaarsservice /wp-admin/admin.php?page=makelaarsservice | 3.26 | 31.92 |
Nieuw object toevoegen /wp-admin/post-new.php?post_type=estate_property | 3.45 | 61.33 |
Instructies /wp-admin/admin.php?page=makelaarsservice-welcome | 3.25 | 37.93 |
Nieuwe makelaar toevoegen /wp-admin/post-new.php?post_type=estate_agent | 3.44 | 54.44 |
Objecten /wp-admin/edit.php?post_type=estate_property | 3.33 | 42.64 |
Categories /wp-admin/edit-tags.php?taxonomy=property_category&post_type=estate_property | 3.27 | 40.72 |
Server storage [IO: ▲0.81MB] [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: 38 new files
Database: 1 new table, no new options
New tables |
---|
wp_pnt_makelaarsservice_tokens |
Browser metrics Passed 4 tests
A check of browser resources used by Makelaarsservice
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,944 ▲348 | 16.23 ▲0.67 | 13.98 ▲5.42 | 92.33 ▲41.40 |
Dashboard /wp-admin | 3,084 ▲150 | 5.90 ▼0.02 | 147.11 ▼12.11 | 121.07 ▲1.90 |
Posts /wp-admin/edit.php | 2,853 ▲114 | 2.69 ▼0.00 | 70.79 ▼1.80 | 93.14 ▲1.36 |
Add New Post /wp-admin/post-new.php | 1,757 ▲257 | 18.79 ▲0.04 | 402.68 ▼30.44 | 117.37 ▼3.27 |
Media Library /wp-admin/upload.php | 1,921 ▲114 | 5.04 ▲0.05 | 157.71 ▲12.07 | 119.17 ▼5.29 |
Plaats /wp-admin/edit-tags.php?taxonomy=property_city_agent&post_type=estate_agent | 1,853 | 2.52 | 72.96 | 89.51 |
Makelaars /wp-admin/edit.php?post_type=estate_agent | 1,517 | 2.63 | 65.04 | 82.64 |
Plaats /wp-admin/edit-tags.php?taxonomy=property_city&post_type=estate_property | 1,853 | 2.52 | 62.76 | 85.31 |
Makelaarsservice /wp-admin/admin.php?page=makelaarsservice | 1,576 | 3.13 | 75.87 | 98.29 |
Nieuw object toevoegen /wp-admin/post-new.php?post_type=estate_property | 3,239 | 8.96 | 223.63 | 153.41 |
Instructies /wp-admin/admin.php?page=makelaarsservice-welcome | 1,256 | 2.57 | 63.22 | 88.15 |
Nieuwe makelaar toevoegen /wp-admin/post-new.php?post_type=estate_agent | 3,087 | 8.89 | 221.00 | 130.05 |
Objecten /wp-admin/edit.php?post_type=estate_property | 1,520 | 2.63 | 65.77 | 81.17 |
Categories /wp-admin/edit-tags.php?taxonomy=property_category&post_type=estate_property | 1,853 | 2.51 | 66.92 | 85.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie tables were found after uninstall: 1 table
- wp_pnt_makelaarsservice_tokens
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/makelaarsservice/public/partials/makelaarsservice-public-display.php
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/makelaarsservice/admin/partials/makelaarsservice-admin-display.php:36
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/makelaarsservice/admin/partials/makelaarsservice-welcome-display.php:26
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/makelaarsservice/public/archive-estate_property.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/makelaarsservice/public/single-estate_property.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== makelaarsservice ===
) - Tags: There were no tags found
makelaarsservice/makelaarsservice.php Passed 13 tests
The primary PHP file in "Makelaarsservice" version 1.0.0 is used by WordPress to initiate all plugin functionality
62 characters long description:
Verbindt uw Makelaarsservice account met uw WordPress website!
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
Good job! No executable or dangerous file extensions detected1,482 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 325 | 853 | 1,160 |
JavaScript | 3 | 54 | 128 | 156 |
CSS | 4 | 34 | 6 | 145 |
Markdown | 1 | 13 | 0 | 21 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 10.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 57.00 |
Average method complexity | 2.03 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.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 | 63 | |
▷ Static methods | 2 | 3.17% |
▷ Public methods | 58 | 92.06% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 7.94% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
6 PNG files occupy 0.23MB with 0.16MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
(invalid) admin/img/ms-icon.png | 14.73KB | 0.00KB | ▼ 100.00% |
public/img/img_verkocht_sides.png | 28.27KB | 6.79KB | ▼ 75.99% |
public/img/img_verkocht_transparant.png | 37.92KB | 11.89KB | ▼ 68.65% |
public/img/img_verkocht_bg_rood.png | 82.47KB | 36.59KB | ▼ 55.64% |
public/img/img_sold_transparent.png | 69.24KB | 26.35KB | ▼ 61.95% |