Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.09MB] [CPU: ▼0.35ms] Passed 4 tests
Analyzing server-side resources used by Tourwriter Itineraries
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 37.49 ▼2.61 |
Dashboard /wp-admin | 3.39 ▲0.09 | 45.25 ▼0.88 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 44.46 ▼0.13 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.11 | 97.83 ▲2.23 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 37.26 ▲4.03 |
Server storage [IO: ▲0.42MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 32 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Tourwriter Itineraries
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲51 | 14.70 ▲0.34 | 1.69 ▲0.15 | 43.00 ▲1.53 |
Dashboard /wp-admin | 2,213 ▲36 | 5.05 ▼0.53 | 96.96 ▲9.41 | 39.41 ▼1.10 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.45 ▲0.34 | 39.58 ▲3.80 | 37.38 ▲0.07 |
Add New Post /wp-admin/post-new.php | 1,553 ▲25 | 18.52 ▼4.91 | 658.13 ▲6.39 | 54.04 ▲1.94 |
Media Library /wp-admin/upload.php | 1,415 ▲12 | 4.47 ▲0.21 | 105.89 ▲6.11 | 43.32 ▼1.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
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
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 8× 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/minim-by-tourwriter/trunk/config.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/minim-by-tourwriter/includes/admin/options-output.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function minim_get_options() in wp-content/plugins/minim-by-tourwriter/trunk/includes/minim/credentials.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/minim-by-tourwriter/config.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/minim-by-tourwriter/trunk/includes/admin/options-output.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/minim-by-tourwriter/includes/minim/custom-fields.php:159
- > PHP Fatal error
Uncaught Error: Call to undefined function minim_get_options() in wp-content/plugins/minim-by-tourwriter/includes/minim/credentials.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/minim-by-tourwriter/trunk/includes/minim/custom-fields.php:159
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Tags: You are using too many tags: 11 tag instead of maximum 10
minim-by-tourwriter/minim-by-tourwriter.php Passed 13 tests
Analyzing the main PHP file in "Tourwriter Itineraries" version 2.2.4
92 characters long description:
Integrate Tourwriter's software with your Wordpress website to display beautiful itineraries
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin1,038 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 131 | 164 | 631 |
JavaScript | 4 | 146 | 222 | 366 |
CSS | 2 | 1 | 0 | 41 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
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 | 62 | |
▷ Named functions | 62 | 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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin