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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼6.99ms] Passed 4 tests
Analyzing server-side resources used by Design Experiments
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 39.69 ▼0.16 |
Dashboard /wp-admin | 3.34 ▼0.00 | 48.59 ▼10.52 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 50.03 ▼8.24 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 94.68 ▼9.04 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 36.82 ▲3.30 |
Design Experiments /wp-admin/options-general.php?page=design-experiments | 3.23 | 34.21 |
Server storage [IO: ▲0.55MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 30 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Design Experiments
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲60 | 13.73 ▼0.58 | 1.69 ▼0.04 | 43.99 ▲0.42 |
Dashboard /wp-admin | 2,212 ▲24 | 4.85 ▼0.02 | 109.95 ▲9.07 | 43.09 ▲4.03 |
Posts /wp-admin/edit.php | 2,098 ▲5 | 2.04 ▲0.02 | 38.91 ▼5.23 | 35.13 ▼3.05 |
Add New Post /wp-admin/post-new.php | 1,534 ▲6 | 23.02 ▲4.59 | 587.70 ▼14.97 | 59.47 ▲2.26 |
Media Library /wp-admin/upload.php | 1,397 ▲6 | 4.13 ▼0.08 | 104.29 ▲7.17 | 47.15 ▲3.88 |
Design Experiments /wp-admin/options-general.php?page=design-experiments | 1,006 | 2.17 | 23.69 | 27.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
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
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/design-experiments/index.php:24
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Screenshots: These screenshots lack descriptions #1, #2, #3, #4 in design-experiments/assets to your readme.txt
design-experiments/index.php 92% from 13 tests
This is the main PHP file of "Design Experiments" version 1.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("design-experiments.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected21,951 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
Sass | 9 | 2,092 | 29 | 11,065 |
CSS | 8 | 1,834 | 513 | 10,688 |
PHP | 1 | 42 | 45 | 120 |
Markdown | 4 | 26 | 0 | 62 |
JSON | 1 | 0 | 0 | 12 |
SVG | 4 | 0 | 0 | 4 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 2.22 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 66.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 33.33% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
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