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
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.43ms] Passed 4 tests
A check of server-side resources used by Tweaks for Elementor
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 47.76 ▲11.31 |
Dashboard /wp-admin | 3.32 ▲0.01 | 48.39 ▼5.41 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 44.24 ▼1.15 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 79.50 ▼4.89 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 32.86 ▼2.26 |
Server storage [IO: ▲0.75MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 27 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Tweaks for Elementor
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,798 ▲48 | 14.51 ▼0.05 | 1.68 ▼0.21 | 43.15 ▲1.42 |
Dashboard /wp-admin | 2,201 ▲24 | 5.62 ▲0.01 | 96.04 ▲0.50 | 44.39 ▼2.73 |
Posts /wp-admin/edit.php | 2,109 ▲9 | 1.95 ▼0.05 | 33.59 ▼0.74 | 34.24 ▼4.32 |
Add New Post /wp-admin/post-new.php | 1,535 ▼7 | 23.57 ▲5.26 | 609.82 ▼41.88 | 50.49 ▼20.55 |
Media Library /wp-admin/upload.php | 1,412 ▲12 | 4.11 ▼0.08 | 107.46 ▲12.81 | 46.10 ▲3.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
7 plugin tags: speed, intl-tel, seo, design, optimization...
tweaks-for-elementor/tweaks-for-elementor.php 92% from 13 tests
Analyzing the main PHP file in "Tweaks for Elementor" version 1.0.6
You should first fix the following items:
- Domain Path: The domain path folder was not found ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin470 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 62 | 240 | 358 |
JavaScript | 6 | 18 | 4 | 84 |
Sass | 2 | 6 | 0 | 26 |
CSS | 1 | 0 | 0 | 1 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 10.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 2.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 16 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 16 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 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
10 PNG files occupy 0.39MB with 0.10MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
dist/images/flags@2x.png | 66.33KB | 68.11KB | 0.00% |
assets/images/flags.png | 23.09KB | 23.39KB | 0.00% |
assets/banner-1544x500.png | 90.19KB | 35.02KB | ▼ 61.17% |
assets/screenshot-1.png | 41.53KB | 47.59KB | 0.00% |
assets/banner-772x250.png | 59.72KB | 21.39KB | ▼ 64.19% |