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
Installer ran successfully
Server metrics [RAM: ▲0.14MB] [CPU: ▼7.43ms] Passed 4 tests
A check of server-side resources used by TEC Elementor Single Builder
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 39.30 ▼1.32 |
Dashboard /wp-admin | 3.43 ▲0.13 | 44.63 ▼3.87 |
Posts /wp-admin/edit.php | 3.54 ▲0.19 | 48.91 ▼0.29 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.15 | 79.64 ▼13.38 |
Media Library /wp-admin/upload.php | 3.35 ▲0.13 | 34.04 ▼11.15 |
All Builders /wp-admin/edit.php?post_type=tec_single_builder | 3.40 | 34.41 |
Settings /wp-admin/admin.php?page=tec-settings | 3.34 | 32.79 |
Dashboard /wp-admin/admin.php?page=tec-dashboard | 3.32 | 30.55 |
Add New /wp-admin/post-new.php?post_type=tec_single_builder | 3.48 | 63.21 |
Server storage [IO: ▲0.52MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 41 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
elementor_cpt_support |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
TEC Elementor Single Builder: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,871 ▲136 | 13.35 ▼1.02 | 1.68 ▼0.01 | 39.76 ▼0.95 |
Dashboard /wp-admin | 2,247 ▲71 | 4.90 ▼0.95 | 108.09 ▲9.47 | 58.51 ▲10.96 |
Posts /wp-admin/edit.php | 2,133 ▲44 | 2.05 ▲0.03 | 40.02 ▲4.95 | 51.10 ▲19.91 |
Add New Post /wp-admin/post-new.php | 1,550 ▲16 | 23.36 ▲0.15 | 657.35 ▼12.63 | 63.45 ▲5.84 |
Media Library /wp-admin/upload.php | 1,423 ▲32 | 4.25 ▲0.06 | 102.37 ▼1.38 | 54.91 ▲11.97 |
All Builders /wp-admin/edit.php?post_type=tec_single_builder | 1,103 | 2.02 | 35.02 | 40.96 |
Settings /wp-admin/admin.php?page=tec-settings | 926 | 2.13 | 36.03 | 57.64 |
Dashboard /wp-admin/admin.php?page=tec-dashboard | 1,397 | 9.42 | 263.27 | 64.12 |
Add New /wp-admin/post-new.php?post_type=tec_single_builder | 2,264 | 7.81 | 170.00 | 82.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin did not uninstall successfully, leaving 7 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- elementor_cpt_support
- db_upgraded
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
The following issues need your attention
- 3× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/tec-elementor-single-builder/src/views/modules/address.php
- > /wp-content/plugins/tec-elementor-single-builder/src/views/modules/map.php
- > /wp-content/plugins/tec-elementor-single-builder/src/views/modules/map-basic.php
- 19× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post() in wp-content/plugins/tec-elementor-single-builder/src/views/single-event.php:2
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/tec-elementor-single-builder/widgets/start-end.php:9
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/tec-elementor-single-builder/widgets/tags.php:12
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/tec-elementor-single-builder/widgets/export-google.php:9
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/tec-elementor-single-builder/widgets/featuredImage.php:9
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/tec-elementor-single-builder/widgets/map.php:9
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/tec-elementor-single-builder/widgets/notice.php:9
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/tec-elementor-single-builder/widgets/organizer.php:9
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/tec-elementor-single-builder/widgets/share.php:9
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/tec-elementor-single-builder/widgets/cost.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
7 plugin tags: booking, event, calendar, venue, events...
tec-elementor-single-builder/tec-elementor-single-builder.php Passed 13 tests
This is the main PHP file of "TEC Elementor Single Builder" version 1.0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
70 characters long description:
Create single event page with Elementor for The Events Calendar plugin
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin7,444 lines of code in 35 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 28 | 1,079 | 1,185 | 6,827 |
CSS | 4 | 62 | 6 | 462 |
SVG | 1 | 0 | 0 | 151 |
JavaScript | 2 | 0 | 3 | 4 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 8.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 2.03 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 21 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 21 | 100.00% |
▷ Final classes | 3 | 14.29% |
Methods | 150 | |
▷ Static methods | 19 | 12.67% |
▷ Public methods | 114 | 76.00% |
▷ Protected methods | 34 | 22.67% |
▷ Private methods | 2 | 1.33% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.20MB with 0.07MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/tec.png | 1.51KB | 1.72KB | 0.00% |
assets/tec-logo.png | 10.40KB | 5.28KB | ▼ 49.23% |
assets/tec2.png | 193.36KB | 82.49KB | ▼ 57.34% |