Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.05MB] [CPU: ▼9.04ms] Passed 4 tests
Server-side resources used by Certificate Verification
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 38.81 ▼3.16 |
Dashboard /wp-admin | 3.37 ▲0.03 | 47.35 ▼13.32 |
Posts /wp-admin/edit.php | 3.42 ▲0.07 | 44.40 ▼4.28 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 81.45 ▼15.40 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 37.22 ▲5.48 |
Server storage [IO: ▲0.81MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 28 new files
Database: 1 new table, 6 new options
New tables |
---|
segwitz_course_certificates |
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Certificate Verification
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,824 ▲78 | 13.46 ▼0.92 | 1.87 ▼0.21 | 44.12 ▼2.19 |
Dashboard /wp-admin | 2,227 ▲39 | 5.12 ▲0.22 | 105.39 ▼11.47 | 35.29 ▼8.11 |
Posts /wp-admin/edit.php | 2,107 ▲18 | 2.45 ▲0.43 | 35.74 ▲1.91 | 35.16 ▲1.22 |
Add New Post /wp-admin/post-new.php | 1,685 ▲152 | 22.90 ▼0.32 | 658.55 ▼37.14 | 42.67 ▼15.75 |
Media Library /wp-admin/upload.php | 1,406 ▲24 | 4.39 ▲0.20 | 98.19 ▼1.73 | 42.60 ▼0.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie tables were found after uninstall: 1 table
- segwitz_course_certificates
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
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)
Everything seems fine on the user side
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Donate link: Invalid URI found ("#")
- Screenshots: These screenshots have no corresponding images in /assets: #1 (This screen shot shows the menu where users can enter the details of the certificate.), #2 (This screenshot shows the list of all certificate data entered.), #3 (This screenshot shows the front-end design on how it will appear for your visitors to check a certificate No.)
certificate-verification/course-certificate-verification.php 85% from 13 tests
The principal PHP file in "Certificate Verification" v. 2.0 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 145 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("certificate-verification.php" instead of "course-certificate-verification.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin8,833 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 1,979 | 6,997 | 6,331 |
CSS | 4 | 45 | 84 | 1,699 |
PHP | 7 | 37 | 43 | 803 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
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 | 11 | |
▷ Named functions | 11 | 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
PNG files should be compressed to save space and minimize bandwidth usage
11 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/ui-icons_555555_256x240.png | 6.91KB | 4.18KB | ▼ 39.47% |
assets/images/ui-icons_ffffff_256x240.png | 6.17KB | 4.18KB | ▼ 32.17% |
assets/images/ui-icons_777777_256x240.png | 6.85KB | 4.18KB | ▼ 38.94% |
assets/images/ui-icons_777620_256x240.png | 4.57KB | 4.18KB | ▼ 8.43% |
assets/images/ui-icons_cc0000_256x240.png | 4.52KB | 4.18KB | ▼ 7.56% |