Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.17MB] [CPU: ▲6.99ms] Passed 4 tests
Analyzing server-side resources used by Yuvver
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 46.31 ▲7.60 |
Dashboard /wp-admin | 3.47 ▲0.17 | 51.98 ▲6.37 |
Posts /wp-admin/edit.php | 3.56 ▲0.21 | 55.41 ▲9.51 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.17 | 100.51 ▲4.47 |
Media Library /wp-admin/upload.php | 3.39 ▲0.17 | 47.34 ▲14.03 |
Add new invitation /wp-admin/post-new.php?post_type=yuvver_invitations | 3.50 | 51.50 |
Settings /wp-admin/edit.php?post_type=yuvver_invitations&page=yuvver-options | 3.34 | 36.81 |
Show all invitations /wp-admin/edit.php?post_type=yuvver_invitations | 3.42 | 40.97 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 11 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_yuvver |
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
yuvver_database_version |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Yuvver
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,915 ▲144 | 13.58 ▼1.04 | 5.35 ▲3.47 | 41.00 ▼1.14 |
Dashboard /wp-admin | 2,239 ▲54 | 5.81 ▼0.08 | 98.46 ▼1.44 | 67.56 ▲24.97 |
Posts /wp-admin/edit.php | 2,125 ▲36 | 2.00 ▼0.01 | 38.24 ▼2.77 | 34.28 ▼3.13 |
Add New Post /wp-admin/post-new.php | 1,703 ▲189 | 24.47 ▲6.87 | 727.63 ▲88.16 | 57.51 ▲5.62 |
Media Library /wp-admin/upload.php | 1,418 ▲27 | 4.14 ▼0.03 | 111.76 ▲16.25 | 52.69 ▲8.37 |
Add new invitation /wp-admin/post-new.php?post_type=yuvver_invitations | 2,168 | 7.48 | 150.20 | 125.87 |
Settings /wp-admin/edit.php?post_type=yuvver_invitations&page=yuvver-options | 821 | 2.07 | 26.56 | 26.30 |
Show all invitations /wp-admin/edit.php?post_type=yuvver_invitations | 1,089 | 1.99 | 29.98 | 30.12 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- The uninstall procedure failed, leaving 1 table in the database
- wp_yuvver
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- yuvver_database_version
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/edit.php?post_type=yuvver_invitations&page=yuvver-options
- > Notice in wp-content/plugins/yuvver/includes/admin_page.php+120
Trying to access array offset on value of type bool
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 5× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/yuvver/includes/schedule_exec.php:24
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/yuvver/includes/admin_page.php:309
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/yuvver/yuvver.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/yuvver/includes/yuvver_post_type.php:24
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/yuvver/includes/scripts.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 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
4 plugin tags: email, invitation, share, smart
yuvver/yuvver.php Passed 13 tests
The primary PHP file in "Yuvver" version 1.4.1 is used by WordPress to initiate all plugin functionality
105 characters long description:
Yuvver allows your clients share your Website, Products or Affiliate Program with their friends by E-mail
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected743 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 304 | 40 | 636 |
PO File | 1 | 36 | 0 | 107 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 26 | |
▷ Named functions | 26 | 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
PNG files should be compressed to save space and minimize bandwidth usage
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/menu_icon.png | 0.94KB | 0.88KB | ▼ 6.94% |