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 gracefully, with no errors
Server metrics [RAM: ▲0.06MB] [CPU: ▼3.20ms] Passed 4 tests
A check of server-side resources used by Norby AI
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 41.03 ▼3.70 |
Dashboard /wp-admin | 3.36 ▲0.06 | 52.91 ▼0.89 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 51.45 ▲1.32 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 85.69 ▼7.37 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 36.29 ▼0.85 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 19 new options
New WordPress options |
---|
norby_api_key |
norby_icon_color |
norby_image_transfer |
norby_side |
theysaidso_admin_options |
db_upgraded |
norby_locale |
norby_color |
norby_information_page |
norby_bot_name |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Norby AI
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,906 ▲145 | 13.71 ▼0.79 | 12.86 ▲10.88 | 47.55 ▲8.76 |
Dashboard /wp-admin | 2,239 ▲62 | 5.68 ▼0.01 | 92.28 ▲1.88 | 38.76 ▼6.66 |
Posts /wp-admin/edit.php | 2,141 ▲38 | 2.06 ▲0.07 | 38.15 ▲0.10 | 34.93 ▼2.93 |
Add New Post /wp-admin/post-new.php | 1,544 ▲16 | 22.90 ▼0.22 | 640.91 ▼14.34 | 69.11 ▲8.91 |
Media Library /wp-admin/upload.php | 1,444 ▲44 | 4.26 ▲0.05 | 102.26 ▼13.71 | 46.42 ▼1.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- can_compress_scripts
Smoke tests 75% 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 | 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 take a closer look at the following
- 4× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/norby-ai/view/widget.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/norby-ai/api/save.php:70
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/norby-ai/view/settings.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/norby-ai/norby.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
norby-ai/norby.php 85% from 13 tests
The main PHP script in "Norby AI" version 1.0.3 is automatically included on every request by WordPress
You should first fix the following items:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("norby-ai.php" instead of "norby.php")
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
Good job! No executable or dangerous file extensions detected520 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 31 | 14 | 384 |
CSS | 1 | 14 | 0 | 91 |
JavaScript | 1 | 3 | 0 | 45 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.08 |
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 | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 52 | |
▷ Global constants | 6 | 11.54% |
▷ Class constants | 46 | 88.46% |
▷ Public constants | 46 | 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 are no PNG files in this plugin