Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▲0.43ms] Passed 4 tests
Analyzing server-side resources used by Wallnament
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 42.75 ▼1.46 |
Dashboard /wp-admin | 3.35 ▲0.05 | 61.26 ▲6.09 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 54.60 ▼2.69 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 102.65 ▼0.24 |
Media Library /wp-admin/upload.php | 3.27 ▲0.05 | 46.28 ▲10.88 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Wallnament
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,949 ▲138 | 14.14 ▲0.98 | 5.25 ▲3.10 | 41.23 ▼8.24 |
Dashboard /wp-admin | 2,244 ▲38 | 5.21 ▼0.70 | 123.98 ▲10.75 | 43.02 ▲0.43 |
Posts /wp-admin/edit.php | 2,130 ▲41 | 2.30 ▲0.29 | 37.84 ▲0.93 | 33.51 ▲1.72 |
Add New Post /wp-admin/post-new.php | 1,535 ▲138 | 23.20 ▲5.35 | 679.53 ▼47.15 | 59.71 ▲12.06 |
Media Library /wp-admin/upload.php | 1,432 ▲44 | 4.33 ▲0.16 | 101.05 ▲0.62 | 42.09 ▲1.99 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 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
Please fix the following
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/wallnament/public/partials/widget-header-script.php
- > /wp-content/plugins/wallnament/admin/partials/wallnament-admin-display.php
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'Walker_Category' not found in wp-content/plugins/wallnament/admin/partials/checkbox-walker.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Donate link: Invalid url: ""
wallnament/wallnament.php Passed 13 tests
The main PHP script in "Wallnament" version 1.0.0 is automatically included on every request by WordPress
50 characters long description:
Wallnament plugin for integration with WooCommerce
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
There were no executable files found in this plugin733 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 203 | 527 | 707 |
CSS | 3 | 3 | 0 | 18 |
JavaScript | 3 | 3 | 28 | 8 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 6.22 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 2.05 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 44 | |
▷ Static methods | 2 | 4.55% |
▷ Public methods | 37 | 84.09% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 15.91% |
Functions | 7 | |
▷ Named functions | 3 | 42.86% |
▷ Anonymous functions | 4 | 57.14% |
Constants | 3 | |
▷ Global constants | 1 | 33.33% |
▷ Class constants | 2 | 66.67% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin