Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼9.53ms] Passed 4 tests
A check of server-side resources used by NGO Concert
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.20 | 40.29 ▲0.65 |
Dashboard /wp-admin | 3.38 ▲0.08 | 30.43 ▼18.60 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 37.78 ▼6.26 |
Add New Post /wp-admin/post-new.php | 5.63 ▼0.25 | 78.19 ▼11.52 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 30.12 ▼1.74 |
Platser /wp-admin/edit-tags.php?taxonomy=concert_scenes&post_type=concert | 3.37 | 31.17 |
Musiker /wp-admin/edit-tags.php?taxonomy=concert_musicians&post_type=concert | 3.37 | 29.50 |
Konsertgenre /wp-admin/edit-tags.php?taxonomy=concert_category&post_type=concert | 3.37 | 32.82 |
Lägg till ny /wp-admin/post-new.php?post_type=concert | 3.45 | 47.93 |
Alla konserter /wp-admin/edit.php?post_type=concert | 3.42 | 36.28 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for NGO Concert
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,846 ▲111 | 13.58 ▼1.07 | 1.81 ▼0.02 | 43.49 ▲5.44 |
Dashboard /wp-admin | 2,249 ▲63 | 5.81 ▲0.87 | 95.46 ▼19.95 | 39.66 ▼0.70 |
Posts /wp-admin/edit.php | 2,131 ▲42 | 2.02 ▼0.01 | 33.93 ▼5.87 | 32.77 ▼0.07 |
Add New Post /wp-admin/post-new.php | 1,574 ▲45 | 23.28 ▲5.00 | 644.91 ▲47.49 | 59.89 ▲0.77 |
Media Library /wp-admin/upload.php | 1,425 ▲37 | 4.16 ▼0.11 | 95.44 ▼11.72 | 42.66 ▼4.52 |
Platser /wp-admin/edit-tags.php?taxonomy=concert_scenes&post_type=concert | 1,302 | 2.30 | 28.20 | 28.01 |
Musiker /wp-admin/edit-tags.php?taxonomy=concert_musicians&post_type=concert | 1,274 | 2.30 | 28.46 | 29.05 |
Konsertgenre /wp-admin/edit-tags.php?taxonomy=concert_category&post_type=concert | 1,302 | 2.30 | 27.58 | 28.38 |
Lägg till ny /wp-admin/post-new.php?post_type=concert | 2,670 | 8.07 | 171.68 | 75.58 |
Alla konserter /wp-admin/edit.php?post_type=concert | 1,144 | 1.96 | 31.52 | 33.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- 5 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=concert
- > User deprecated in wp-includes/functions.php+5828
Hook contextual_help is deprecated since version 3.3.0! Use get_current_screen()->add_help_tab(), get_current_screen()->remove_help_tab() instead.
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 4× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/ngo-concert/template-files/archive-concert.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/ngo-concert/template-files/taxonomy-concert_scenes.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/ngo-concert/template-files/taxonomy-concert_musicians.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/ngo-concert/template-files/single-concert.php:1
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following user-side errors
- > GET request to /wp-admin/post-new.php?post_type=concert
- > Network (severe)
wp-content/plugins/ngo-concert/css/images/ui-bg_flat_75_ffffff_40x100.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots lack descriptions #1, #0 in ngo-concert/assets to your readme.txt
ngo-concert/ngo-concert.php 92% from 13 tests
"NGO Concert" version 1.2.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 185 characters long)
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 plugin1,505 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 57 | 65 | 623 |
PO File | 2 | 154 | 156 | 498 |
CSS | 1 | 39 | 63 | 384 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
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 | 15 | |
▷ Named functions | 15 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin