Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.64MB] [CPU: ▼0.87ms] Passed 4 tests
Analyzing server-side resources used by Community meetings
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.11 ▲0.66 | 42.50 ▲2.67 |
Dashboard /wp-admin | 3.94 ▲0.63 | 48.37 ▼0.45 |
Posts /wp-admin/edit.php | 4.00 ▲0.64 | 50.20 ▲0.27 |
Add New Post /wp-admin/post-new.php | 6.68 ▲0.80 | 88.92 ▼5.98 |
Media Library /wp-admin/upload.php | 3.86 ▲0.63 | 37.92 ▲6.23 |
Meetups /wp-admin/edit.php?post_type=metgs_meeting | 3.91 | 38.53 |
Sponsors /wp-admin/edit-tags.php?taxonomy=metgs_sponsor&post_type=metgs_meeting | 3.88 | 40.26 |
Speakers /wp-admin/edit-tags.php?taxonomy=metgs_speaker&post_type=metgs_meeting | 3.88 | 41.11 |
Settings /wp-admin/edit.php?post_type=metgs_meeting&page=meetings_admin | 3.74 | 31.76 |
Add New Meetup /wp-admin/post-new.php?post_type=metgs_meeting | 6.68 | 90.60 |
Places /wp-admin/edit-tags.php?taxonomy=metgs_place&post_type=metgs_meeting | 3.88 | 41.29 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 30 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
metgs_flush_rewrite_rules_flag |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Community meetings
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,848 ▲91 | 13.24 ▼0.93 | 1.73 ▼0.35 | 42.46 ▼0.86 |
Dashboard /wp-admin | 2,246 ▲57 | 5.83 ▲0.93 | 98.33 ▼21.40 | 39.99 ▲2.83 |
Posts /wp-admin/edit.php | 2,132 ▲40 | 2.02 ▲0.02 | 33.57 ▼6.48 | 32.61 ▼1.96 |
Add New Post /wp-admin/post-new.php | 1,571 ▲54 | 23.41 ▲5.88 | 639.51 ▼24.49 | 61.19 ▲5.64 |
Media Library /wp-admin/upload.php | 1,431 ▲46 | 4.20 ▲0.06 | 99.10 ▼3.53 | 41.14 ▼1.63 |
Meetups /wp-admin/edit.php?post_type=metgs_meeting | 1,129 | 2.00 | 31.50 | 28.58 |
Sponsors /wp-admin/edit-tags.php?taxonomy=metgs_sponsor&post_type=metgs_meeting | 1,493 | 3.22 | 48.15 | 31.36 |
Speakers /wp-admin/edit-tags.php?taxonomy=metgs_speaker&post_type=metgs_meeting | 1,486 | 3.26 | 41.77 | 28.89 |
Settings /wp-admin/edit.php?post_type=metgs_meeting&page=meetings_admin | 845 | 2.06 | 24.38 | 26.11 |
Add New Meetup /wp-admin/post-new.php?post_type=metgs_meeting | 6,325 | 20.01 | 874.05 | 34.31 |
Places /wp-admin/edit-tags.php?taxonomy=metgs_place&post_type=metgs_meeting | 2,553 | 3.14 | 44.62 | 72.62 |
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
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
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
These errors were triggered by the plugin
- > GET request to /wp-admin/edit.php?post_type=metgs_meeting&page=meetings_admin
- > Notice in wp-content/plugins/community-meetings/admin/METGS_settings_page.php+51
Trying to access array offset on value of type null
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
Almost there! Just fix the following items
- 20× PHP files output non-empty strings when accessed directly via GET requests (only 10 are shown):
- > /wp-content/plugins/community-meetings/admin/METGS_taxonomy_place.php
- > /wp-content/plugins/community-meetings/functions/METGS_functions_inputs.php
- > /wp-content/plugins/community-meetings/public/METGS_public.php
- > /wp-content/plugins/community-meetings/admin/METGS_admin_taxonomies.php
- > /wp-content/plugins/community-meetings/admin/METGS_admin.php
- > /wp-content/plugins/community-meetings/public/METGS_public_cpt.php
- > /wp-content/plugins/community-meetings/functions/METGS_functions_countries.php
- > /wp-content/plugins/community-meetings/public/METGS_meeting.php
- > /wp-content/plugins/community-meetings/public/METGS_sponsor.php
- > /wp-content/plugins/community-meetings/admin/METGS_settings_page.php
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/community-meetings/templates/archive-metgs_meeting.php:2
- > 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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
2 plugin tags: meetings, community
community-meetings/community-meetings.php 92% from 13 tests
Analyzing the main PHP file in "Community meetings" version 0.5
Please take the time to fix the following:
- Domain Path: The domain path folder was not found ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin2,398 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 22 | 335 | 109 | 2,155 |
CSS | 2 | 11 | 1 | 116 |
Sass | 1 | 8 | 0 | 97 |
JavaScript | 1 | 8 | 4 | 30 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 12.10 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 73.00 |
Average method complexity | 2.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 20 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 20 | 100.00% |
▷ Final classes | 1 | 5.00% |
Methods | 184 | |
▷ Static methods | 2 | 1.09% |
▷ Public methods | 161 | 87.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 23 | 12.50% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 16 | |
▷ Global constants | 16 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin