Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼5.27ms] Passed 4 tests
A check of server-side resources used by Evadav
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 43.21 ▲0.55 |
Dashboard /wp-admin | 3.33 ▲0.03 | 48.98 ▼4.33 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 50.28 ▲4.92 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 85.11 ▼17.27 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 36.66 ▼0.04 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 25 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_evadav_widgets |
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_evadavwidget |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Evadav: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,821 ▲86 | 13.27 ▼1.20 | 5.74 ▲3.96 | 43.30 ▼6.20 |
Dashboard /wp-admin | 2,218 ▲27 | 4.88 ▲0.01 | 102.99 ▼12.22 | 60.02 ▲12.75 |
Posts /wp-admin/edit.php | 2,115 ▲23 | 2.28 ▲0.29 | 39.04 ▼0.60 | 37.05 ▲3.93 |
Add New Post /wp-admin/post-new.php | 1,537 ▲18 | 23.19 ▼0.12 | 657.40 ▼27.13 | 36.93 ▼18.46 |
Media Library /wp-admin/upload.php | 1,408 ▲20 | 4.48 ▲0.33 | 101.45 ▼13.99 | 65.16 ▲16.80 |
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 7 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_evadavwidget
- widget_recent-posts
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 13× PHP files output non-empty strings when accessed directly via GET requests (only 10 are shown):
- > /wp-content/plugins/evadav/admin/partials/evadav-admin-welcome-page.php
- > /wp-content/plugins/evadav/includes/class-evadav-helper.php
- > /wp-content/plugins/evadav/admin/partials/evadav-admin-widget-page.php
- > /wp-content/plugins/evadav/includes/class-evadav-widget.php
- > /wp-content/plugins/evadav/admin/class-evadav-admin.php
- > /wp-content/plugins/evadav/admin/partials/evadav-admin-statistic-page.php
- > /wp-content/plugins/evadav/includes/class-evadav-deactivator.php
- > /wp-content/plugins/evadav/evadav-widget.php
- > /wp-content/plugins/evadav/public/class-evadav-public.php
- > /wp-content/plugins/evadav/includes/class-evadav-api.php
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)
There were no browser issues found
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
5 plugin tags: evadav, push, push-notification, monetization, traffic monetization
evadav/evadav.php Passed 13 tests
The main PHP script in "Evadav" version 1.0.0 is automatically included on every request by WordPress
28 characters long description:
Evadav - Monetize your site.
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,046 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 244 | 87 | 1,369 |
JavaScript | 2 | 300 | 104 | 1,205 |
CSS | 1 | 38 | 14 | 472 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 10.30 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 69.00 |
Average method complexity | 2.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 70 | |
▷ Static methods | 7 | 10.00% |
▷ Public methods | 62 | 88.57% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 11.43% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.00% |
Constants | 18 | |
▷ Global constants | 2 | 11.11% |
▷ Class constants | 16 | 88.89% |
▷ Public constants | 16 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/menu_icon.png | 0.34KB | 0.34KB | 0.00% |