Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼11.39ms] Passed 4 tests
Analyzing server-side resources used by VC Image Hover Effect oCoder Free
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.45 ▼0.02 | 27.78 ▼13.89 |
Dashboard /wp-admin | 3.37 ▲0.02 | 51.61 ▼17.18 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 52.01 ▼2.60 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 89.25 ▼11.87 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 43.39 ▲5.82 |
Server storage [IO: ▲1.87MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 35 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for VC Image Hover Effect oCoder Free
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,913 ▲152 | 13.46 ▼0.97 | 9.54 ▲7.82 | 46.22 ▲6.00 |
Dashboard /wp-admin | 2,203 ▲29 | 5.64 ▲0.03 | 85.88 ▼7.74 | 37.81 ▼10.53 |
Posts /wp-admin/edit.php | 2,117 ▲14 | 1.98 ▼0.05 | 39.53 ▼1.51 | 37.90 ▲2.87 |
Add New Post /wp-admin/post-new.php | 1,540 ▲12 | 23.20 ▲0.04 | 655.56 ▼35.33 | 55.85 ▲7.08 |
Media Library /wp-admin/upload.php | 1,414 ▲14 | 4.19 ▲0.01 | 99.15 ▼2.15 | 48.29 ▼1.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 3× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/image-hover-effect-free-ocoder/template/team_member_box.php
- > /wp-content/plugins/image-hover-effect-free-ocoder/vc_team_hover_free.php
- > /wp-content/plugins/image-hover-effect-free-ocoder/template/round.php
- 7× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function vc_add_shortcode_param() in wp-content/plugins/image-hover-effect-free-ocoder/admin/params/slider/slider-params.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_register_style() in wp-content/plugins/image-hover-effect-free-ocoder/template/shadow_effect.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_register_style() in wp-content/plugins/image-hover-effect-free-ocoder/template/circle.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_register_style() in wp-content/plugins/image-hover-effect-free-ocoder/template/square.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_register_style() in wp-content/plugins/image-hover-effect-free-ocoder/template/default.php:3
- > PHP Notice
Undefined variable: circle_effect in wp-content/plugins/image-hover-effect-free-ocoder/template/circle.php on line 2
- > PHP Notice
Undefined variable: square_effect in wp-content/plugins/image-hover-effect-free-ocoder/template/square.php on line 2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
4 plugin tags: image hover, team hover, image effect, team social
image-hover-effect-free-ocoder/vc_team_hover_free.php 85% from 13 tests
This is the main PHP file of "VC Image Hover Effect oCoder Free" version 1.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("image-hover-effect-free-ocoder.php" instead of "vc_team_hover_free.php")
- Description: The description should be shorter than 140 characters (currently 225 characters long)
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
Success! There were no dangerous files found in this plugin7,442 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 10 | 180 | 42 | 6,040 |
PHP | 9 | 59 | 87 | 802 |
SVG | 1 | 0 | 0 | 565 |
JavaScript | 2 | 11 | 8 | 35 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.90 |
Average class complexity | 9.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 3.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 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 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
5 PNG files occupy 0.72MB with 0.55MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 430.66KB | 95.69KB | ▼ 77.78% |
admin/css/img/kobra_itemicon.png | 3.22KB | 0.69KB | ▼ 78.52% |
assets/icon_team_hover.png | 5.58KB | 1.77KB | ▼ 68.23% |
admin/css/img/kobra_wappericon.png | 3.30KB | 0.81KB | ▼ 75.58% |
screenshot-2.png | 299.21KB | 69.49KB | ▼ 76.77% |