Benchmarks
Plugin footprint 65% 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.08MB] [CPU: ▼4.97ms] Passed 4 tests
Analyzing server-side resources used by Elvez Tap Animation
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.08 | 38.32 ▼1.55 |
Dashboard /wp-admin | 3.37 ▲0.07 | 48.15 ▼10.70 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 53.27 ▲1.29 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 96.71 ▼8.64 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 35.10 ▲1.00 |
Tap Animation /wp-admin/admin.php?page=elvez-tap-animation | 3.26 | 30.60 |
Server storage [IO: ▲0.48MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 53 new files
Database: 1 new table, 12 new options
New tables |
---|
wp_elv_tap_position |
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
elvez_tap_animation_subscription_id |
elvez_tap_animation_plugin_version |
widget_recent-comments |
theysaidso_admin_options |
elvez_tap_animation_tap_animation |
elvez_tap_animation_record_tap_position |
db_upgraded |
widget_recent-posts |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Elvez Tap Animation
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,971 ▲210 | 14.53 ▼0.03 | 11.77 ▲10.10 | 37.93 ▼7.40 |
Dashboard /wp-admin | 2,259 ▲53 | 5.26 ▲0.34 | 108.42 ▲5.79 | 42.38 ▼1.99 |
Posts /wp-admin/edit.php | 2,145 ▲45 | 2.39 ▲0.37 | 39.61 ▲3.87 | 33.83 ▼4.79 |
Add New Post /wp-admin/post-new.php | 6,268 ▲4,720 | 22.01 ▼1.32 | 871.40 ▲261.42 | 35.78 ▼13.43 |
Media Library /wp-admin/upload.php | 1,441 ▲41 | 4.54 ▲0.22 | 101.93 ▼1.17 | 42.07 ▼1.32 |
Tap Animation /wp-admin/admin.php?page=elvez-tap-animation | 1,034 | 2.55 | 41.71 | 29.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The uninstall procedure failed, leaving 1 table in the database
- wp_elv_tap_position
- This plugin did not uninstall successfully, leaving 12 options in the database
- elvez_tap_animation_subscription_id
- widget_recent-posts
- db_upgraded
- elvez_tap_animation_base_color
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- elvez_tap_animation_plugin_version
- elvez_tap_animation_record_tap_position
- elvez_tap_animation_subscribe_email
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
The following issues need your attention
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/elvez-tap-animation/admin/partials/elvez-tap-animation-admin-display.php
- > /wp-content/plugins/elvez-tap-animation/public/partials/elvez-tap-animation-public-display.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/admin.php?page=elvez-tap-animation
- > Javascript (severe) in unknown
/wp-content/plugins/elvez-tap-animation/admin/js/elvez-tap-animation-admin.js?ver=1.0.27 4:11 Uncaught ReferenceError: ElvPostMixin is not defined
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Screenshots: Add an image for screenshot #1 (Settings)
elvez-tap-animation/elvez-tap-animation.php 85% from 13 tests
The main PHP file in "Elvez Tap Animation" ver. 1.0.27 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Requires PHP: Required version does not match the one declared in readme.txt ("7.4" instead of "7.2")
- Requires at least: Required version does not match the one declared in readme.txt ("4.0" instead of "5.2")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected3,229 lines of code in 39 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 21 | 394 | 1,562 | 1,811 |
JavaScript | 11 | 80 | 150 | 964 |
CSS | 3 | 36 | 41 | 268 |
PO File | 4 | 106 | 163 | 186 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 12.07 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 37.00 |
Average method complexity | 2.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 15 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 15 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 137 | |
▷ Static methods | 46 | 33.58% |
▷ Public methods | 132 | 96.35% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 3.65% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.00% |
Constants | 40 | |
▷ Global constants | 3 | 7.50% |
▷ Class constants | 37 | 92.50% |
▷ Public constants | 37 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin