Benchmarks
Plugin footprint 83% 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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.58MB] [CPU: ▲1.57ms] Passed 4 tests
This is a short check of server-side resources used by Nonprofit Board Management Files
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.05 ▲0.58 | 44.26 ▲2.25 |
Dashboard /wp-admin | 3.91 ▲0.60 | 60.29 ▲10.23 |
Posts /wp-admin/edit.php | 3.96 ▲0.60 | 59.25 ▲5.22 |
Add New Post /wp-admin/post-new.php | 6.47 ▲0.58 | 102.46 ▼9.66 |
Media Library /wp-admin/upload.php | 3.81 ▲0.58 | 43.70 ▲8.47 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 37 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Nonprofit Board Management Files
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,930 ▲169 | 14.55 ▼0.11 | 1.68 ▲0.01 | 43.77 ▲2.87 |
Dashboard /wp-admin | 2,336 ▲156 | 6.22 ▲0.56 | 119.66 ▲27.12 | 41.85 ▼1.99 |
Posts /wp-admin/edit.php | 2,267 ▲167 | 3.65 ▲1.70 | 54.46 ▲13.64 | 35.42 ▲0.00 |
Add New Post /wp-admin/post-new.php | 1,530 ▲2 | 23.23 ▲0.01 | 650.26 ▼4.45 | 38.00 ▼21.43 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.20 ▲0.05 | 79.47 ▼24.34 | 44.56 ▼0.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% 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 50% 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
The following issues need your attention
- 6× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'PluginFramework\\V_1_1\\Core' not found in wp-content/plugins/nonprofit-board-management-files/plugin.class.php:3
- > PHP Warning
include_once(ABSPATHwp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/nonprofit-board-management-files/plugin.class.php on line 9
- > PHP Fatal error
Trait 'PluginFramework\\V_1_1\\PluginInfo' not found in wp-content/plugins/nonprofit-board-management-files/framework/core.class.php on line 6
- > PHP Fatal error
Uncaught Error: Call to undefined function is_plugin_active() in wp-content/plugins/nonprofit-board-management-files/plugin.class.php:11
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/nonprofit-board-management-files/plugin.class.php on line 9
- > PHP Warning
include_once(): Failed opening 'ABSPATHwp-admin/includes/plugin.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/nonprofit-board-management-files/plugin.class.php on line 9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: A description for screenshot #1 is missing in nonprofit-board-management-files/assets to your readme.txt
- Tags: No tags were detected
nonprofit-board-management-files/nonprofit-board-management-files.php Passed 13 tests
The principal PHP file in "Nonprofit Board Management Files" v. 0.0.64 is loaded by WordPress automatically on each request
92 characters long description:
Adds Agenda and Minutes to meetings, adds shortcode to display meetings with file downloads.
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 plugin2,611 lines of code in 33 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 23 | 219 | 412 | 2,514 |
Mustache | 5 | 4 | 0 | 59 |
JavaScript | 4 | 5 | 18 | 36 |
Sass | 1 | 1 | 0 | 2 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 8.02 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 51.00 |
Average method complexity | 2.32 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 5 | |
Traits | 13 | |
Classes | 27 | |
▷ Abstract classes | 4 | 14.81% |
▷ Concrete classes | 23 | 85.19% |
▷ Final classes | 0 | 0.00% |
Methods | 255 | |
▷ Static methods | 4 | 1.57% |
▷ Public methods | 186 | 72.94% |
▷ Protected methods | 31 | 12.16% |
▷ Private methods | 38 | 14.90% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 62 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 62 | 100.00% |
▷ Public constants | 62 | 100.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