Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.08MB] [CPU: ▲1.71ms] Passed 4 tests
A check of server-side resources used by WindDoc No-Profit
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 43.68 ▲3.64 |
Dashboard /wp-admin | 3.38 ▲0.08 | 52.17 ▲3.89 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 51.44 ▼1.33 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 101.97 ▲7.76 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 38.15 ▲0.63 |
Server storage [IO: ▲0.48MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by WindDoc No-Profit
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲39 | 14.00 ▼0.35 | 1.67 ▼0.02 | 46.47 ▲3.67 |
Dashboard /wp-admin | 2,194 ▲24 | 5.55 ▼0.05 | 106.92 ▲3.07 | 72.85 ▲34.19 |
Posts /wp-admin/edit.php | 2,111 ▲8 | 2.00 ▲0.00 | 37.39 ▼3.09 | 33.03 ▼0.41 |
Add New Post /wp-admin/post-new.php | 1,536 ▲1 | 23.74 ▲5.46 | 695.11 ▲54.17 | 53.88 ▼11.72 |
Media Library /wp-admin/upload.php | 1,411 ▲14 | 4.22 ▼0.03 | 95.96 ▼9.06 | 76.06 ▲30.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/winddoc-no-profit/template/lista_eventi.php
- 4× PHP files trigger server errors when accessed directly:
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/winddoc-no-profit/template/lista_eventi.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/winddoc-no-profit/winddocnoprofit.php:21
- > PHP Notice
Undefined variable: lista_eventi in wp-content/plugins/winddoc-no-profit/template/lista_eventi.php on line 3
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/winddoc-no-profit/template/lista_eventi.php on line 3
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Screenshots: Please add descriptions for these screenshots #0, #1 in winddoc-no-profit/assets to your readme.txt
winddoc-no-profit/winddocnoprofit.php 77% from 13 tests
The principal PHP file in "WindDoc No-Profit" v. 2.2 is loaded by WordPress automatically on each request
It is important to fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("winddoc-no-profit.php" instead of "winddocnoprofit.php")
- Requires at least: The required version number did not match the one declared in readme.txt ("5.0" instead of "6.1.1")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin7,008 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 1,984 | 6,995 | 6,355 |
PHP | 4 | 215 | 34 | 652 |
CSS | 1 | 0 | 0 | 1 |
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.53 |
Average class complexity | 8.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 3.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin