Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
It is recommended to fix the following installer errors
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/magyar-eszkozok-divi-hez/modules/extra.php+98
Undefined variable: theme
Server metrics [RAM: ▼1.83MB] [CPU: ▼192.48ms] Passed 4 tests
Analyzing server-side resources used by Magyar kiegészítésék Divi-hez
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.80 ▼0.92 | 5.64 ▼17.13 |
Dashboard /wp-admin | 1.81 ▼1.24 | 6.73 ▼25.99 |
Posts /wp-admin/edit.php | 1.82 ▼1.29 | 7.20 ▼33.31 |
Add New Post /wp-admin/post-new.php | 1.81 ▼3.62 | 6.82 ▼684.55 |
Media Library /wp-admin/upload.php | 1.82 ▼1.19 | 5.90 ▼26.06 |
Server storage [IO: ▲1.62MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 26 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Magyar kiegészítésék Divi-hez
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,679 ▲83 | 16.27 ▲0.77 | 8.27 ▼0.50 | 45.00 ▲2.66 |
Dashboard /wp-admin | 2,967 ▲36 | 6.09 ▼0.05 | 146.29 ▲1.41 | 109.92 ▼3.23 |
Posts /wp-admin/edit.php | 2,739 ▲3 | 2.68 ▼0.02 | 65.75 ▼2.74 | 81.06 ▼9.77 |
Add New Post /wp-admin/post-new.php | 1,606 ▲106 | 18.92 ▲0.69 | 358.67 ▲9.13 | 104.59 ▼3.94 |
Media Library /wp-admin/upload.php | 1,810 ▲3 | 5.03 ▲0.01 | 145.45 ▲4.37 | 117.25 ▼6.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/magyar-eszkozok-divi-hez/modules/extra.php+98
Undefined variable: theme
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/magyar-eszkozok-divi-hez/modules/extra.php
- 6× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Notice
Undefined variable: timeline_posts in wp-content/plugins/magyar-eszkozok-divi-hez/modules/timeline-posts-content-hun.php on line 9
- > PHP Fatal error
Uncaught Error: Call to a member function have_posts() on null in wp-content/plugins/magyar-eszkozok-divi-hez/modules/timeline-posts-content-hun.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/magyar-eszkozok-divi-hez/modules/page-template-authors-hun.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/magyar-eszkozok-divi-hez/modules/page-template-timeline-hun.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/magyar-eszkozok-divi-hez/modules/timeline.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/magyar-eszkozok-divi-hez/modules/authors.php:4
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
2 plugin tags: divi, magyar
magyar-eszkozok-divi-hez/init.php 85% from 13 tests
"Magyar kiegészítésék Divi-hez" version 0.0.25's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("magyar-eszkozok-divi-hez.php" instead of "init.php")
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
Good job! No executable or dangerous file extensions detected14,095 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 7 | 6,722 | 8,200 | 13,735 |
PHP | 7 | 77 | 27 | 360 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 2.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.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
No PNG images were found in this plugin