Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼0.16ms] Passed 4 tests
This is a short check of server-side resources used by Penguin Integration
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 40.03 ▼5.94 |
Dashboard /wp-admin | 3.34 ▲0.03 | 53.30 ▲0.23 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 48.56 ▲3.12 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 97.18 ▲6.46 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 37.72 ▲1.94 |
Penguin /wp-admin/options-general.php?page=penguin-integration | 3.23 | 28.61 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
penguinIntegrationOptions |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Penguin Integration: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.28 ▼1.01 | 1.76 ▼0.34 | 44.71 ▼3.70 |
Dashboard /wp-admin | 2,213 ▲25 | 4.85 ▼1.02 | 108.39 ▲5.05 | 43.22 ▼1.59 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.01 ▼0.05 | 39.71 ▲2.73 | 34.43 ▲0.26 |
Add New Post /wp-admin/post-new.php | 1,536 ▲17 | 23.32 ▲0.01 | 674.14 ▼49.46 | 57.27 ▲2.83 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.17 ▼0.10 | 98.29 ▼9.78 | 43.43 ▲0.00 |
Penguin /wp-admin/options-general.php?page=penguin-integration | 853 | 2.03 | 25.29 | 29.72 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- can_compress_scripts
- theysaidso_admin_options
- penguinIntegrationOptions
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function submit_button() in wp-content/plugins/penguin-integration/settingsPage.php:51
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/penguin-integration/penguinintegration.php:49
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
4 plugin tags: ecommerce, buy button, apple pay, penguin
penguin-integration/penguinintegration.php 85% from 13 tests
Analyzing the main PHP file in "Penguin Integration" version 1.0
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("penguin-integration.php" instead of "penguinintegration.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 232 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin208 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 69 | 82 | 208 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 18.00 |
▷ Minimum class complexity | 18.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 2.70 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.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 | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 80.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 20.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin