Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼2.64ms] Passed 4 tests
Analyzing server-side resources used by NoIdea
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.12 ▼1.78 |
Dashboard /wp-admin | 3.32 ▲0.02 | 47.46 ▲0.76 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 50.80 ▲6.77 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 79.78 ▼10.80 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 32.57 ▲1.27 |
Settings /wp-admin/admin.php?page=no-idea-admin | 3.21 | 30.57 |
NoIdea /wp-admin/admin.php?page=no-idea | 3.21 | 29.46 |
Post /wp-admin/admin.php?page=no-idea-post | 3.21 | 30.55 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for NoIdea
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,856 ▲121 | 14.47 ▲0.07 | 2.06 ▲0.40 | 45.76 ▲3.58 |
Dashboard /wp-admin | 2,237 ▲46 | 4.87 ▲0.01 | 109.19 ▲7.89 | 40.12 ▼3.91 |
Posts /wp-admin/edit.php | 2,117 ▲31 | 2.05 ▲0.04 | 35.39 ▼1.77 | 39.91 ▲7.02 |
Add New Post /wp-admin/post-new.php | 1,559 ▲45 | 23.14 ▲5.59 | 666.52 ▼22.33 | 58.88 ▲6.63 |
Media Library /wp-admin/upload.php | 1,422 ▲40 | 4.31 ▲0.07 | 95.49 ▼5.52 | 40.62 ▼2.19 |
Settings /wp-admin/admin.php?page=no-idea-admin | 829 | 2.02 | 22.61 | 27.27 |
NoIdea /wp-admin/admin.php?page=no-idea | 785 | 2.05 | 23.13 | 23.47 |
Post /wp-admin/admin.php?page=no-idea-post | 875 | 2.14 | 22.46 | 25.48 |
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
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
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
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/no-idea/no-idea.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Screenshots: Add descriptions for screenshots #1, #2 in no-idea/assets to your readme.txt
no-idea/no-idea.php Passed 13 tests
The main file in "NoIdea" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
50 characters long description:
Easily and quickly produce content through OpenAI.
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
No dangerous file extensions were detected360 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 43 | 41 | 301 |
XML | 4 | 0 | 0 | 44 |
Markdown | 1 | 9 | 0 | 15 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 2.60 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 91.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 8.33% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 1 | 50.00% |
▷ Class constants | 1 | 50.00% |
▷ Public constants | 1 | 100.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
There were not PNG files found in your plugin