Benchmarks
Plugin footprint Passed 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.07MB] [CPU: ▼142.73ms] Passed 4 tests
A check of server-side resources used by Gabfire Widget Pack
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.91 ▲0.19 | 38.43 ▲11.44 |
Dashboard /wp-admin | 3.13 ▲0.08 | 48.75 ▲1.61 |
Posts /wp-admin/edit.php | 3.18 ▲0.07 | 47.21 ▼0.61 |
Add New Post /wp-admin/post-new.php | 5.49 ▲0.06 | 99.33 ▼564.76 |
Media Library /wp-admin/upload.php | 3.07 ▲0.06 | 36.44 ▼7.16 |
Gabfire Widget Pack /wp-admin/themes.php?page=gab-widget-pack-options | 3.04 | 32.85 |
Server storage [IO: ▲0.55MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 131 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Gabfire Widget Pack
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,751 ▲155 | 15.91 ▲0.32 | 8.90 ▼0.52 | 45.80 ▼0.72 |
Dashboard /wp-admin | 3,040 ▲111 | 6.23 ▲0.27 | 149.62 ▼7.87 | 106.68 ▼8.48 |
Posts /wp-admin/edit.php | 2,809 ▲73 | 3.03 ▲0.35 | 90.90 ▲19.68 | 98.52 ▲5.53 |
Add New Post /wp-admin/post-new.php | 1,706 ▲23 | 18.50 ▼0.23 | 383.48 ▲13.67 | 116.76 ▼7.09 |
Media Library /wp-admin/upload.php | 1,880 ▲73 | 5.13 ▲0.10 | 164.58 ▲8.81 | 136.88 ▼0.67 |
Gabfire Widget Pack /wp-admin/themes.php?page=gab-widget-pack-options | 1,884 | 2.55 | 66.36 | 101.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstaller ran successfully
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, 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
Looking good! No server-side errors or output on direct access of PHP files
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, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Screenshots: These screenshots lack descriptions #10, #11, #12, #13 in gabfire-widget-pack/assets to your readme.txt
gabfire-widget-pack/gabfire-widgets.php 92% from 13 tests
This is the main PHP file of "Gabfire Widget Pack" version 1.4.14, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("gabfire-widget-pack.php" instead of "gabfire-widgets.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected5,995 lines of code in 32 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 22 | 679 | 365 | 3,587 |
PO File | 3 | 647 | 1,619 | 1,355 |
CSS | 4 | 142 | 38 | 981 |
JavaScript | 3 | 2 | 11 | 72 |
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.25 |
Average class complexity | 25.42 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 61.00 |
Average method complexity | 6.03 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 42.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 19 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 19 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 93 | |
▷ Static methods | 2 | 2.15% |
▷ Public methods | 81 | 87.10% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 12 | 12.90% |
Functions | 39 | |
▷ Named functions | 39 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
83 PNG files occupy 0.17MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/social/vimeo.png | 2.78KB | 2.10KB | ▼ 24.55% |
images/24x/contact.png | 1.00KB | 0.88KB | ▼ 11.44% |
images/submit-newsletter.png | 5.77KB | 3.27KB | ▼ 43.30% |
images/40x/download.png | 2.79KB | 2.05KB | ▼ 26.71% |
images/social/linkedin.png | 2.28KB | 1.86KB | ▼ 18.64% |