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: ▲1.20MB] [CPU: ▼3.98ms] Passed 4 tests
A check of server-side resources used by Ninety in Ninety
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.57 ▲1.11 | 41.42 ▼1.79 |
Dashboard /wp-admin | 4.53 ▲1.19 | 52.88 ▼9.12 |
Posts /wp-admin/edit.php | 4.59 ▲1.24 | 54.15 ▲2.64 |
Add New Post /wp-admin/post-new.php | 7.16 ▲1.27 | 94.48 ▼7.66 |
Media Library /wp-admin/upload.php | 4.47 ▲1.25 | 44.16 ▲4.16 |
Info /wp-admin/edit.php?post_type=acf-field-group&page=acf-settings-info | 4.44 | 41.30 |
Field Groups /wp-admin/edit.php?post_type=acf-field-group | 4.46 | 44.83 |
Meeting Types /wp-admin/edit-tags.php?taxonomy=ninety_meeting_type&post_type=ninety_meeting | 4.47 | 43.06 |
All Meetings /wp-admin/edit.php?post_type=ninety_meeting | 4.45 | 38.36 |
Meeting Locations /wp-admin/edit-tags.php?taxonomy=ninety_meeting_location&post_type=ninety_meeting | 4.47 | 42.05 |
Options /wp-admin/edit.php?post_type=ninety_meeting&page=ninety-settings | 4.34 | 34.91 |
Tools /wp-admin/edit.php?post_type=acf-field-group&page=acf-tools | 4.43 | 38.72 |
Add New /wp-admin/post-new.php?post_type=ninety_meeting | 4.71 | 66.92 |
Add New /wp-admin/post-new.php?post_type=acf-field-group | 4.61 | 57.75 |
Server storage [IO: ▲10.56MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 341 new files
Database: no new tables, 12 new options
New WordPress options |
---|
widget_ninety-meeting-archives |
widget_ninety-meeting-calendar |
widget_recent-comments |
ninety_meeting_count |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
acf_version |
can_compress_scripts |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Ninety in Ninety
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,955 ▲209 | 13.68 ▼1.01 | 1.72 ▼0.31 | 47.41 ▲6.37 |
Dashboard /wp-admin | 2,361 ▲173 | 5.24 ▲0.29 | 106.20 ▲4.43 | 41.16 ▼1.59 |
Posts /wp-admin/edit.php | 2,210 ▲118 | 2.42 ▲0.39 | 46.12 ▲6.80 | 39.36 ▲2.62 |
Add New Post /wp-admin/post-new.php | 6,716 ▲5,187 | 29.56 ▲6.81 | 1,070.07 ▲394.33 | 41.31 ▼14.03 |
Media Library /wp-admin/upload.php | 2,016 ▲634 | 8.27 ▲4.05 | 217.40 ▲110.69 | 48.74 ▲1.25 |
Info /wp-admin/edit.php?post_type=acf-field-group&page=acf-settings-info | 1,138 | 2.24 | 29.43 | 70.93 |
Field Groups /wp-admin/edit.php?post_type=acf-field-group | 1,275 | 3.08 | 58.24 | 41.87 |
Meeting Types /wp-admin/edit-tags.php?taxonomy=ninety_meeting_type&post_type=ninety_meeting | 1,721 | 3.05 | 45.93 | 33.17 |
All Meetings /wp-admin/edit.php?post_type=ninety_meeting | 1,201 | 2.51 | 35.45 | 28.89 |
Meeting Locations /wp-admin/edit-tags.php?taxonomy=ninety_meeting_location&post_type=ninety_meeting | 1,434 | 3.12 | 50.28 | 30.81 |
Options /wp-admin/edit.php?post_type=ninety_meeting&page=ninety-settings | 1,787 | 2.43 | 47.80 | 26.24 |
Tools /wp-admin/edit.php?post_type=acf-field-group&page=acf-tools | 1,114 | 2.92 | 39.70 | 33.93 |
Add New /wp-admin/post-new.php?post_type=ninety_meeting | 3,177 | 9.46 | 295.60 | 93.19 |
Add New /wp-admin/post-new.php?post_type=acf-field-group | 2,253 | 3.70 | 83.91 | 50.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 12 options
- widget_ninety-meeting-calendar
- widget_recent-posts
- acf_version
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- ninety_meeting_count
- ninety_last_updated
- widget_ninety-meeting-search
- widget_ninety-meeting-archives
- ...
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- 46 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=ninety_meeting&page=ninety-settings
- > Notice in wp-content/plugins/90-in-90/inc/class-options-page.php+570
Trying to access array offset on value of type bool
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 items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/90-in-90/inc/mapbox/test.php
- 105× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Undefined variable: argv in wp-content/plugins/90-in-90/inc/mapbox/test.php on line 10
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/90-in-90/inc/acf/includes/fields/class-acf-field-user.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function acf_register_store() in wp-content/plugins/90-in-90/inc/acf/includes/acf-value-functions.php:4
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/90-in-90/inc/widget-meeting-calendar.php:11
- > PHP Notice
Undefined variable: rule in wp-content/plugins/90-in-90/inc/acf/includes/admin/views/html-location-rule.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/90-in-90/child-themes/primer-child/single-ninety_meeting.php:12
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/90-in-90/inc/acf/includes/admin/views/field-group-field.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function the_ID() in wp-content/plugins/90-in-90/child-themes/nineteen-child/template-parts/content/content-excerpt-ninety_meeting.php:14
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/90-in-90/inc/acf/includes/fields/class-acf-field-file.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/90-in-90/templates/archive-ninety_meeting.php:6
- > PHP Notice
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 Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
4 plugin tags: aa, alcoholics anonymous, na, recovery
90-in-90/ninety-ninety.php 85% from 13 tests
The main PHP script in "Ninety in Ninety" version 0.1.1 is automatically included on every request by WordPress
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("90-in-90.php" instead of "ninety-ninety.php")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
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
Good job! No executable or dangerous file extensions detected110,392 lines of code in 254 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 30 | 21,688 | 35,421 | 45,780 |
JavaScript | 19 | 12,342 | 13,771 | 39,884 |
PHP | 180 | 11,840 | 18,824 | 21,662 |
CSS | 18 | 275 | 111 | 2,298 |
HTML | 2 | 28 | 0 | 407 |
Markdown | 3 | 87 | 0 | 207 |
JSON | 1 | 0 | 0 | 124 |
SVG | 1 | 18 | 0 | 30 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 16.66 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 338.00 |
Average method complexity | 2.95 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 33.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 116 | |
▷ Abstract classes | 1 | 0.86% |
▷ Concrete classes | 115 | 99.14% |
▷ Final classes | 0 | 0.00% |
Methods | 930 | |
▷ Static methods | 12 | 1.29% |
▷ Public methods | 868 | 93.33% |
▷ Protected methods | 51 | 5.48% |
▷ Private methods | 11 | 1.18% |
Functions | 445 | |
▷ Named functions | 445 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 21 | |
▷ Global constants | 19 | 90.48% |
▷ Class constants | 2 | 9.52% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
14 compressed PNG files occupy 0.48MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/acf/assets/inc/datepicker/images/ui-icons_DDDDDD_256x240.png | 3.68KB | 4.17KB | 0.00% |
child-themes/primer-child/screenshot.png | 302.45KB | 305.79KB | 0.00% |
inc/acf/assets/images/acf-logo.png | 3.40KB | 3.39KB | 0.23% |
inc/acf/assets/inc/datepicker/images/ui-icons_ffffff_256x240.png | 3.68KB | 4.17KB | 0.00% |
assets/js/leaflet/images/layers.png | 0.68KB | 1.05KB | 0.00% |