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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.15MB] [CPU: ▼2.46ms] Passed 4 tests
A check of server-side resources used by DynaMaker CAD Configurator Integration
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.20 | 39.62 ▲0.03 |
Dashboard /wp-admin | 3.49 ▲0.19 | 42.60 ▼2.81 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 46.62 ▼2.62 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.13 | 93.37 ▼4.42 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 40.72 ▲6.34 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for DynaMaker CAD Configurator Integration
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲60 | 14.48 ▼0.19 | 1.78 ▲0.09 | 43.37 ▼3.43 |
Dashboard /wp-admin | 2,208 ▲17 | 4.82 ▼0.30 | 109.25 ▲9.22 | 42.01 ▼0.83 |
Posts /wp-admin/edit.php | 2,091 ▲2 | 1.97 ▼0.04 | 40.10 ▲3.61 | 37.02 ▲3.02 |
Add New Post /wp-admin/post-new.php | 6,354 ▲4,824 | 27.90 ▲9.76 | 901.23 ▲245.08 | 41.21 ▼12.02 |
Media Library /wp-admin/upload.php | 1,390 ▲2 | 4.20 ▲0.00 | 100.51 ▲1.16 | 45.46 ▲2.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
- Contributors: The plugin contributors field is missing
- Tags: There are too many tags (11 tag instead of maximum 10)
dynamaker-cad-configurator-integration/dynamaker_cad_configurator_integration.php 85% from 13 tests
The main PHP file in "DynaMaker CAD Configurator Integration" ver. 1.2.3 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: It is recommended to name the main PHP file as the plugin slug ("dynamaker-cad-configurator-integration.php" instead of "dynamaker_cad_configurator_integration.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin869 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 154 | 262 | 535 |
JavaScript | 2 | 10 | 0 | 293 |
JSON | 1 | 0 | 0 | 34 |
CSS | 1 | 1 | 0 | 7 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 3.41 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 2.41 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 17 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 17 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 29 | |
▷ Static methods | 15 | 51.72% |
▷ Public methods | 28 | 96.55% |
▷ Protected methods | 1 | 3.45% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 7 | 100.00% |
▷ Public constants | 7 | 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
No PNG images were found in this plugin