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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.65MB] [CPU: ▼16.11ms] Passed 4 tests
Server-side resources used by WP Tour
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 37.04 ▲1.55 |
Dashboard /wp-admin | 3.35 ▲0.05 | 45.27 ▼10.14 |
Posts /wp-admin/edit.php | 3.41 ▲0.04 | 50.85 ▲6.02 |
Add New Post /wp-admin/post-new.php | 3.14 ▼2.75 | 33.59 ▼56.87 |
Media Library /wp-admin/upload.php | 3.28 ▲0.04 | 35.64 ▲1.03 |
Tours /wp-admin/edit.php?post_type=tour | 3.32 | 36.01 |
Nieuwe Tour /wp-admin/post-new.php?post_type=tour | 3.14 | 31.58 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Tour
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,929 ▲168 | 13.86 ▼0.41 | 8.98 ▲7.27 | 38.50 ▼2.70 |
Dashboard /wp-admin | 2,225 ▲51 | 5.63 ▼0.01 | 82.13 ▼7.02 | 38.64 ▼1.73 |
Posts /wp-admin/edit.php | 2,124 ▲24 | 2.10 ▲0.12 | 35.42 ▲1.24 | 33.78 ▼5.20 |
Add New Post /wp-admin/post-new.php | 1,558 ▲32 | 18.54 ▼4.53 | 647.55 ▼34.51 | 76.01 ▲23.57 |
Media Library /wp-admin/upload.php | 1,430 ▲30 | 4.25 ▲0.04 | 103.78 ▼10.83 | 42.81 ▼4.29 |
Tours /wp-admin/edit.php?post_type=tour | 1,108 | 1.97 | 32.60 | 36.45 |
Nieuwe Tour /wp-admin/post-new.php?post_type=tour | 2,471 | 7.69 | 172.92 | 72.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=tour
- > request to
- > Notice in wp-config.php+20
Undefined index: REQUEST_METHOD
- > GET request to /wp-admin/post-new.php?post_type=tour
- > Notice in wp-content/plugins/wp-tour/wp-tour.php+200
Undefined index: element
- > GET request to /wp-admin/post-new.php?post_type=tour
- > Notice in wp-content/plugins/wp-tour/wp-tour.php+201
Undefined index: position
- > GET request to /wp-admin/post-new.php?post_type=tour
- > Notice in wp-content/plugins/wp-tour/wp-tour.php+202
Undefined index: order
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=tour
- > Notice in wp-content/plugins/wp-tour/wp-tour.php+217
Trying to get property 'ID' of non-object
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/wp-tour/wp-tour.php:31
- > 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 important because it is parsed by WordPress.org for the public listing of your plugin
3 plugin tags: tour, message, post
wp-tour/wp-tour.php 92% from 13 tests
The main file in "WP Tour" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Domain Path: The domain path is invalid: folder "/languages" does not exist
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 plugin137 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 37 | 62 | 132 |
CSS | 2 | 1 | 27 | 4 |
JavaScript | 1 | 1 | 20 | 1 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 3 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 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
PNG images were not found in this plugin