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.02MB] [CPU: ▼3.03ms] Passed 4 tests
An overview of server-side resources used by NDesign Theme Support
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 37.41 ▼5.72 |
Dashboard /wp-admin | 3.33 ▲0.02 | 46.13 ▼1.56 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 47.17 ▼3.58 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 94.50 ▼1.25 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.88 ▲3.41 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=portfolio | 3.24 | 37.18 |
Add New /wp-admin/post-new.php?post_type=portfolio | 3.34 | 47.43 |
Portfolio /wp-admin/edit.php?post_type=portfolio | 3.30 | 38.57 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
category_children |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for NDesign Theme Support
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,834 ▲77 | 13.25 ▼1.14 | 1.72 ▼0.28 | 41.46 ▼3.28 |
Dashboard /wp-admin | 2,234 ▲49 | 5.82 ▲0.88 | 104.01 ▲1.34 | 39.73 ▲0.91 |
Posts /wp-admin/edit.php | 2,123 ▲37 | 2.00 ▲0.00 | 40.70 ▲5.44 | 35.89 ▼1.93 |
Add New Post /wp-admin/post-new.php | 1,573 ▲59 | 18.33 ▲0.70 | 643.57 ▲16.15 | 65.61 ▲13.70 |
Media Library /wp-admin/upload.php | 1,419 ▲28 | 4.20 ▲0.01 | 93.49 ▼3.33 | 40.62 ▼1.00 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=portfolio | 1,471 | 2.14 | 26.84 | 32.19 |
Add New /wp-admin/post-new.php?post_type=portfolio | 1,850 | 3.62 | 74.43 | 37.60 |
Portfolio /wp-admin/edit.php?post_type=portfolio | 1,119 | 1.94 | 33.32 | 29.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- category_children
- widget_theysaidso_widget
- db_upgraded
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
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ndesign-theme-support/ndesign-extension.php:33
- > 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 86% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Contributors: Plugin contributors field is missing
- Screenshots: Please a description for screenshot #2 in ndesign-theme-support/assets to your readme.txt
- Screenshots: Screenshot #3 (Portfolio Preview) image required
ndesign-theme-support/ndesign-extension.php 92% from 13 tests
The principal PHP file in "NDesign Theme Support" v. 1.0.1 is loaded by WordPress automatically on each request
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("ndesign-theme-support.php" instead of "ndesign-extension.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected19 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 1 | 14 | 19 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
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 | 1 | |
▷ Named functions | 1 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin