Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼7.14ms] Passed 4 tests
Analyzing server-side resources used by VC Countdown oCoder Free
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 41.73 ▼13.98 |
Dashboard /wp-admin | 3.36 ▲0.06 | 45.61 ▼3.92 |
Posts /wp-admin/edit.php | 3.41 ▲0.06 | 45.19 ▼1.60 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 84.30 ▼9.07 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 36.56 ▲0.55 |
Server storage [IO: ▲1.06MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 42 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for VC Countdown oCoder Free
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,924 ▲189 | 13.59 ▼0.77 | 5.79 ▲4.05 | 51.25 ▲6.56 |
Dashboard /wp-admin | 2,218 ▲41 | 5.76 ▼0.14 | 98.21 ▼15.35 | 39.94 ▼10.93 |
Posts /wp-admin/edit.php | 2,100 ▲11 | 2.02 ▲0.06 | 34.30 ▼3.98 | 34.93 ▲1.18 |
Add New Post /wp-admin/post-new.php | 1,546 ▲26 | 23.15 ▲0.06 | 657.98 ▲20.51 | 55.78 ▼2.98 |
Media Library /wp-admin/upload.php | 1,397 ▲9 | 4.25 ▲0.10 | 98.09 ▼24.33 | 44.58 ▼5.22 |
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
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
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
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/vc-countdown-ocoder/vc_extend.php
- > /wp-content/plugins/vc-countdown-ocoder/admin/params/slider/slider-params.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Screenshots: Add images for these screenshots: #1 (scr1.png), #2 (scr2.png)
vc-countdown-ocoder/vc_extend.php 85% from 13 tests
"VC Countdown oCoder Free" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 225 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("vc-countdown-ocoder.php" instead of "vc_extend.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected2,283 lines of code in 31 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 15 | 60 | 22 | 895 |
PHP | 11 | 78 | 91 | 711 |
SVG | 1 | 0 | 0 | 565 |
JavaScript | 4 | 15 | 13 | 112 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
3 PNG files occupy 0.13MB with 0.09MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/countdown.png | 5.17KB | 1.18KB | ▼ 77.07% |
screenshot-2.png | 69.83KB | 23.96KB | ▼ 65.69% |
screenshot-1.png | 59.34KB | 27.89KB | ▼ 52.99% |