Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.28MB] [CPU: ▼4.49ms] Passed 4 tests
Analyzing server-side resources used by Evento
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.73 ▲0.27 | 42.56 ▼0.27 |
Dashboard /wp-admin | 3.58 ▲0.28 | 47.92 ▼3.38 |
Posts /wp-admin/edit.php | 3.69 ▲0.33 | 50.71 ▼2.13 |
Add New Post /wp-admin/post-new.php | 6.18 ▲0.29 | 86.46 ▼11.90 |
Media Library /wp-admin/upload.php | 3.50 ▲0.27 | 38.88 ▼0.54 |
Server storage [IO: ▲4.18MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 86 new files
Database: no new tables, 8 new options
New WordPress options |
---|
can_compress_scripts |
widget_info_widget |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
widget_social_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Evento
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲58 | 14.39 ▼0.32 | 1.56 ▼0.13 | 41.46 ▼3.06 |
Dashboard /wp-admin | 2,210 ▲35 | 4.86 ▼0.82 | 101.11 ▼21.35 | 37.77 ▼9.18 |
Posts /wp-admin/edit.php | 2,122 ▲22 | 2.29 ▲0.33 | 41.86 ▲4.29 | 34.60 ▼2.27 |
Add New Post /wp-admin/post-new.php | 1,536 ▲10 | 23.55 ▲0.48 | 682.77 ▼53.15 | 73.38 ▲4.56 |
Media Library /wp-admin/upload.php | 1,415 ▲15 | 4.34 ▲0.16 | 103.02 ▼12.83 | 41.92 ▼6.12 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 8 options in the database
- widget_recent-comments
- widget_social_widget
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- widget_info_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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
Please take a closer look at the following
- 38× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/evento/inc/eventpress/features/eventpress-slider-section.php:229
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/evento/inc/eventplus/sections/section-slider.php:118
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/evento/inc/eventpress/sections/section-countdown.php:104
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/evento/inc/eventplus/features/eventplus-typography.php:944
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/evento/inc/eventpress/sections/section-gallery.php:120
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/evento/inc/eventpress/features/eventpress-navigation.php:315
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/evento/inc/widget/info-widget.php:5
- > PHP Warning
Use of undefined constant EVENTO_PLUGIN_URL - assumed 'EVENTO_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/evento/inc/eventpress/default-pages/upload-media.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/evento/inc/eventplus/sections/section-gallery.php:120
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/evento/inc/eventpress/features/eventpress-typography.php:944
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
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: corporate, xmas, eventpress, santa, christmas...
evento/evento.php 92% from 13 tests
This is the main PHP file of "Evento" version 1.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Description: Please don't use more than 140 characters for the plugin description (currently 185 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin10,575 lines of code in 45 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 35 | 939 | 589 | 7,510 |
JavaScript | 7 | 491 | 853 | 2,523 |
CSS | 3 | 27 | 19 | 542 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 3.25 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 1.93 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 29 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 27 | 93.10% |
▷ Protected methods | 2 | 6.90% |
▷ Private methods | 0 | 0.00% |
Functions | 140 | |
▷ Named functions | 138 | 98.57% |
▷ Anonymous functions | 2 | 1.43% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
12 PNG files occupy 0.34MB with 0.24MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/eventplus/images/color/2.png | 0.96KB | 0.08KB | ▼ 91.21% |
(invalid) inc/eventpress/images/about01.png | 50.13KB | 0.00KB | ▼ 100.00% |
inc/eventplus/images/logo.png | 4.77KB | 3.47KB | ▼ 27.21% |
(invalid) inc/eventpress/images/about02.png | 109.26KB | 0.00KB | ▼ 100.00% |
inc/eventpress/images/logo.png | 4.26KB | 2.63KB | ▼ 38.30% |