Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.09MB] [CPU: ▼8.73ms] Passed 4 tests
A check of server-side resources used by Peggy Suite (NL) - prachtige iDeal betaalpagina's en geavanceerde formbuilder
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 45.21 ▲1.01 |
Dashboard /wp-admin | 3.40 ▲0.06 | 49.76 ▼13.64 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 51.35 ▼0.73 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 92.54 ▼21.57 |
Media Library /wp-admin/upload.php | 3.32 ▲0.10 | 43.00 ▲5.08 |
Settings /wp-admin/admin.php?page=peggyFormsSettings | 3.32 | 32.27 |
Register /wp-admin/admin.php?page=/plans | 3.10 | 28.88 |
Server storage [IO: ▲0.43MB] [DB: ▲0.00MB] 67% from 3 tests
Analyzing filesystem and database footprints of this plugin
Just a few items left to fix
- The plugin illegally modified 1 file (4.00KB) outside of "wp-content/plugins/peggy-forms/" and "wp-content/uploads/"
- (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Peggy Suite (NL) - prachtige iDeal betaalpagina's en geavanceerde formbuilder
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,844 ▲98 | 13.25 ▼1.12 | 4.80 ▲3.14 | 44.38 ▲2.89 |
Dashboard /wp-admin | 2,250 ▲46 | 5.03 ▲0.07 | 117.39 ▲0.53 | 37.61 ▼9.37 |
Posts /wp-admin/edit.php | 2,129 ▲29 | 2.04 ▲0.00 | 39.64 ▲0.38 | 35.72 ▼1.59 |
Add New Post /wp-admin/post-new.php | 6,393 ▲4,857 | 27.76 ▲4.30 | 923.37 ▲230.15 | 59.13 ▲6.04 |
Media Library /wp-admin/upload.php | 1,429 ▲32 | 4.31 ▲0.21 | 114.49 ▲4.25 | 48.58 ▲2.81 |
Settings /wp-admin/admin.php?page=peggyFormsSettings | 826 | 1.69 | 28.55 | 28.88 |
Register /wp-admin/admin.php?page=/plans | 28 | 0.44 | 0.11 | 4.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following user-side errors
- > GET request to /wp-admin/admin.php?page=/plans
- > Network (severe)
wp-admin/admin.php?page=/plans - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
- Tags: Please reduce the number of tags, currently 21 tag instead of maximum 10
peggy-forms/peggyforms.php 92% from 13 tests
"Peggy Suite (NL) - prachtige iDeal betaalpagina's en geavanceerde formbuilder" version 1.40.13's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("peggy-forms.php" instead of "peggyforms.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin781 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 127 | 23 | 412 |
JavaScript | 4 | 45 | 12 | 242 |
CSS | 3 | 19 | 3 | 127 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 24.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 46.00 |
Average method complexity | 2.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.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 | 22 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 19 | 86.36% |
▷ Protected methods | 1 | 4.55% |
▷ Private methods | 2 | 9.09% |
Functions | 15 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 15 | 100.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
7 PNG files occupy 0.39MB with 0.25MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/js/tinymce/get-form.png | 3.86KB | 0.57KB | ▼ 85.27% |
assets/img/icon-32x32.png | 3.82KB | 1.49KB | ▼ 60.96% |
assets/img/icon-128x128.png | 7.65KB | 3.51KB | ▼ 54.06% |
assets/img/icon-256x256.png | 16.70KB | 6.91KB | ▼ 58.60% |
assets/img/screenshot-1.png | 151.73KB | 55.31KB | ▼ 63.55% |