Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.10MB] [CPU: ▼0.08ms] Passed 4 tests
An overview of server-side resources used by WordPress Community Events
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.77 ▲1.31 | 5,615.57 ▲5,576.60 |
Dashboard /wp-admin | 3.40 ▲0.10 | 46.23 ▼2.09 |
Posts /wp-admin/edit.php | 3.45 ▲0.10 | 48.56 ▼0.78 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.12 | 99.80 ▲1.09 |
Media Library /wp-admin/upload.php | 3.32 ▲0.10 | 37.51 ▲1.45 |
WP Community Events shortcode generator /wp-admin/options-general.php?page=wp-community-events | 3.29 | 31.05 |
Server storage [IO: ▲0.86MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 36 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by WordPress Community Events
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲90 | 13.36 ▼1.04 | 1.54 ▼0.15 | 40.62 ▼6.05 |
Dashboard /wp-admin | 2,231 ▲43 | 5.26 ▼0.64 | 103.37 ▼10.63 | 37.76 ▼6.90 |
Posts /wp-admin/edit.php | 2,098 ▲9 | 2.36 ▲0.32 | 42.41 ▲0.94 | 35.50 ▲0.55 |
Add New Post /wp-admin/post-new.php | 1,540 ▲7 | 23.22 ▼0.16 | 642.23 ▲12.83 | 35.50 ▼15.80 |
Media Library /wp-admin/upload.php | 1,417 ▲32 | 4.57 ▲0.45 | 89.07 ▼8.89 | 45.44 ▲5.09 |
WP Community Events shortcode generator /wp-admin/options-general.php?page=wp-community-events | 1,452 | 2.61 | 51.30 | 27.44 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.33MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-community-events/admin/wpce-admin.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-community-events/public/wpce-shortcode.php:330
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/wp-community-events/public/wpce-public.php:24
- > 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 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Tags: There are too many tags (16 tag instead of maximum 10)
wp-community-events/wp-community-events.php Passed 13 tests
The primary PHP file in "WordPress Community Events" version 1.1 is used by WordPress to initiate all plugin functionality
72 characters long description:
Display WordPress official community WordCamps & Meetups on vector maps.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin1,984 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 1 | 0 | 0 | 1,207 |
PHP | 5 | 73 | 104 | 497 |
JavaScript | 7 | 6 | 4 | 220 |
CSS | 4 | 2 | 6 | 58 |
SVG | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 11 | 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
7 PNG files occupy 0.40MB with 0.24MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-128x128.png | 12.22KB | 4.63KB | ▼ 62.15% |
assets/icon-256x256.png | 23.33KB | 10.19KB | ▼ 56.33% |
assets/banner-1544x500.png | 59.77KB | 26.89KB | ▼ 55.01% |
assets/banner-772x250.png | 28.33KB | 12.07KB | ▼ 57.40% |
assets/screenshot-2.png | 94.29KB | 26.15KB | ▼ 72.27% |