Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.53ms] Passed 4 tests
Analyzing server-side resources used by WPKoi Templates for Elementor
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 34.97 ▼2.50 |
Dashboard /wp-admin | 3.31 ▲0.00 | 43.84 ▼8.93 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.90 ▼0.08 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 77.04 ▼2.62 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.48 ▲0.51 |
Server storage [IO: ▲8.22MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 176 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
WPKoi Templates for Elementor: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲18 | 14.45 ▲0.09 | 1.70 ▼0.24 | 38.11 ▼7.52 |
Dashboard /wp-admin | 2,210 ▲36 | 5.56 ▼0.15 | 81.32 ▼8.84 | 39.90 ▼0.44 |
Posts /wp-admin/edit.php | 2,115 ▲12 | 2.01 ▼0.01 | 40.38 ▲0.71 | 35.83 ▲0.10 |
Add New Post /wp-admin/post-new.php | 1,538 ▲10 | 23.12 ▲0.01 | 666.25 ▼26.36 | 69.84 ▲19.31 |
Media Library /wp-admin/upload.php | 1,415 ▲15 | 4.25 ▲0.06 | 95.95 ▼14.57 | 41.57 ▼5.40 |
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
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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
Almost there! Just fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function Elementor\\add_action() in wp-content/plugins/wpkoi-templates-for-elementor/elements/includes/elementor-helper.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
9 plugin tags: wpkoi, template library, addons, elementor addon, elementor template...
wpkoi-templates-for-elementor/wpkoi-templates-for-elementor.php Passed 13 tests
Analyzing the main PHP file in "WPKoi Templates for Elementor" version 2.5.5
112 characters long description:
WPKoi Templates for Elementor extends Elementor Template Library with WPKoi pages from the popular WPKoi Themes.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected3,501 lines of code in 28 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 498 | 159 | 3,458 |
JavaScript | 8 | 1 | 17 | 36 |
CSS | 7 | 0 | 0 | 7 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 13.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 26.00 |
Average method complexity | 2.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 53 | |
▷ Static methods | 2 | 3.77% |
▷ Public methods | 43 | 81.13% |
▷ Protected methods | 10 | 18.87% |
▷ Private methods | 0 | 0.00% |
Functions | 14 | |
▷ Named functions | 13 | 92.86% |
▷ Anonymous functions | 1 | 7.14% |
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
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/wpkoi-logo.png | 5.70KB | 4.31KB | ▼ 24.49% |