Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼7.85ms] Passed 4 tests
Analyzing server-side resources used by Evenium
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 36.06 ▼10.33 |
Dashboard /wp-admin | 3.33 ▲0.03 | 43.54 ▼6.97 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 45.83 ▼2.88 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 82.61 ▼11.20 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 35.39 ▲0.87 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Evenium
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲70 | 13.52 ▼0.88 | 1.65 ▼0.23 | 39.86 ▼2.52 |
Dashboard /wp-admin | 2,219 ▲34 | 5.83 ▼0.13 | 97.16 ▼2.24 | 38.15 ▼5.01 |
Posts /wp-admin/edit.php | 2,105 ▲16 | 2.18 ▲0.18 | 36.16 ▼1.70 | 34.47 ▼2.04 |
Add New Post /wp-admin/post-new.php | 6,200 ▲4,667 | 23.92 ▲0.94 | 898.52 ▲245.16 | 54.39 ▼2.06 |
Media Library /wp-admin/upload.php | 1,404 ▲22 | 4.23 ▼0.07 | 96.12 ▼2.34 | 39.95 ▼3.98 |
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
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
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 plugin_dir_path() in wp-content/plugins/evenium/evenium.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Tags: Please delete some tags, you are using 16 tag instead of maximum 10
evenium/evenium.php Passed 13 tests
"Evenium" version 1.3.7's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
28 characters long description:
Evenium Plugin for WordPress
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin1,275 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 52 | 29 | 564 |
PHP | 6 | 36 | 53 | 499 |
CSS | 1 | 8 | 6 | 107 |
PO File | 1 | 33 | 36 | 105 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 6.83 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 2.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 27 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 27 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 4 | 80.00% |
▷ Anonymous functions | 1 | 20.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
6 PNG files occupy 0.09MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/evenium_btn_te_example.png | 19.31KB | 5.11KB | ▼ 73.56% |
img/evenium_gutenberg_add_block.png | 28.34KB | 9.06KB | ▼ 68.02% |
img/evenium_gutenberg_select_your_event.png | 23.29KB | 8.73KB | ▼ 62.52% |
img/evenium_icon.png | 1.51KB | 0.72KB | ▼ 52.71% |
img/evenium_manage_event.png | 4.28KB | 0.77KB | ▼ 82.06% |