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
Install script ran successfully
Server metrics [RAM: ▲0.17MB] [CPU: ▼0.57ms] Passed 4 tests
An overview of server-side resources used by GEN Europe CLIPS Wordpress plugin
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 40.91 ▼0.37 |
Dashboard /wp-admin | 3.48 ▲0.17 | 46.34 ▼2.61 |
Posts /wp-admin/edit.php | 3.59 ▲0.24 | 52.09 ▲0.34 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.17 | 96.04 ▲1.21 |
Media Library /wp-admin/upload.php | 3.40 ▲0.17 | 35.73 ▲0.35 |
CLIPS Settings /wp-admin/options-general.php?page=clips-setting-admin | 3.37 | 34.18 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for GEN Europe CLIPS Wordpress plugin
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,925 ▲164 | 14.61 ▲0.23 | 20.97 ▲19.19 | 36.06 ▼12.39 |
Dashboard /wp-admin | 2,199 ▲19 | 5.65 ▼0.03 | 92.26 ▲5.42 | 41.86 ▲0.75 |
Posts /wp-admin/edit.php | 2,101 ▲1 | 2.01 ▲0.01 | 39.57 ▲1.85 | 34.01 ▼3.88 |
Add New Post /wp-admin/post-new.php | 1,554 ▲27 | 18.38 ▼4.82 | 633.39 ▼57.20 | 64.00 ▲12.28 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.17 ▲0.04 | 95.57 ▼10.09 | 47.40 ▲0.64 |
CLIPS Settings /wp-admin/options-general.php?page=clips-setting-admin | 856 | 2.00 | 22.11 | 31.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
Please fix the following
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/gen-europe-clips/geneurope-clips.php:24
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/gen-europe-clips/project.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function get_query_var() in wp-content/plugins/gen-europe-clips/resource.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/gen-europe-clips/event.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
3 plugin tags: gen-europe, events, projects
gen-europe-clips/geneurope-clips.php 92% from 13 tests
The entry point to "GEN Europe CLIPS Wordpress plugin" version 1.4.1 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("gen-europe-clips.php" instead of "geneurope-clips.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin1,626 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 245 | 172 | 1,470 |
Markdown | 1 | 48 | 0 | 67 |
CSS | 1 | 21 | 6 | 62 |
JavaScript | 1 | 3 | 4 | 27 |
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.39 |
Average class complexity | 19.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 60.00 |
Average method complexity | 2.77 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 40 | |
▷ Static methods | 27 | 67.50% |
▷ Public methods | 37 | 92.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 7.50% |
Functions | 3 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 3 | 100.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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
No PNG files were detected