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.00MB] [CPU: ▼7.34ms] Passed 4 tests
An overview of server-side resources used by Basic Developer Tools
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 34.76 ▼3.69 |
Dashboard /wp-admin | 3.32 ▼0.03 | 46.30 ▼13.67 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 47.41 ▲0.96 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 81.23 ▼12.95 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 32.62 ▲1.91 |
Developer Tools /wp-admin/admin.php?page=developer-tools | 3.23 | 26.81 |
Log /wp-admin/admin.php?page=developer-tools-logger | 3.23 | 30.75 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Basic Developer Tools
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲85 | 13.21 ▼1.43 | 4.26 ▲2.45 | 37.54 ▼6.07 |
Dashboard /wp-admin | 2,237 ▲46 | 4.84 ▼0.03 | 111.91 ▼5.34 | 42.94 ▼4.35 |
Posts /wp-admin/edit.php | 2,123 ▲34 | 2.03 ▲0.03 | 41.07 ▲3.76 | 35.12 ▼1.68 |
Add New Post /wp-admin/post-new.php | 1,540 ▲7 | 17.89 ▼5.64 | 664.76 ▲5.56 | 61.76 ▲7.49 |
Media Library /wp-admin/upload.php | 1,416 ▲28 | 4.20 ▲0.01 | 91.73 ▼15.82 | 41.39 ▼3.16 |
Developer Tools /wp-admin/admin.php?page=developer-tools | 808 | 2.05 | 27.31 | 29.97 |
Log /wp-admin/admin.php?page=developer-tools-logger | 851 | 2.28 | 31.57 | 24.14 |
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
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check 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 | 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
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/basic-developer-tools/views/admin-info.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/basic-developer-tools/basic-developer-tools.php:34
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/basic-developer-tools/views/admin-log.php:3
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following browser errors
- > GET request to /wp-admin/admin.php?page=developer-tools-logger
- > Javascript (severe) in unknown
/wp-admin/admin.php?page=developer-tools-logger 0:0 Uncaught SyntaxError: Unexpected token '
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Tags: Too many tags (17 tag instead of maximum 10); only the first 5 tags are used in your directory listing
basic-developer-tools/basic-developer-tools.php 85% from 13 tests
The main PHP script in "Basic Developer Tools" version 1.0.2 is automatically included on every request by WordPress
It is important to fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Description: The description should be shorter than 140 characters (currently 149 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
Success! There were no dangerous files found in this plugin356 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 68 | 162 | 315 |
PO File | 1 | 8 | 11 | 36 |
CSS | 1 | 0 | 0 | 3 |
JavaScript | 1 | 0 | 0 | 2 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 3.25 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 22 | |
▷ Static methods | 21 | 95.45% |
▷ Public methods | 21 | 95.45% |
▷ Protected methods | 1 | 4.55% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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
No PNG files were detected