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
Installer ran successfully
Server metrics [RAM: ▲0.13MB] [CPU: ▲2.98ms] Passed 4 tests
Server-side resources used by Accelerate Patterns
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 44.95 ▲1.74 |
Dashboard /wp-admin | 3.44 ▲0.13 | 53.11 ▼0.51 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 57.06 ▲7.76 |
Add New Post /wp-admin/post-new.php | 6.13 ▲0.25 | 90.51 ▲2.93 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 41.79 ▲8.71 |
Add New Pattern /wp-admin/post-new.php?post_type=accpattern | 6.12 | 83.04 |
All Patterns /wp-admin/edit.php?post_type=accpattern | 3.41 | 36.80 |
Pattern Categories /wp-admin/edit-tags.php?taxonomy=mypatterns&post_type=accpattern | 3.35 | 37.96 |
Server storage [IO: ▲0.03MB] [DB: ▲0.62MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, 8 new options
New WordPress options |
---|
accelerate-patterns_current_version |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
accelerate-patterns_initial_version |
Browser metrics Passed 4 tests
An overview of browser requirements for Accelerate Patterns
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,869 ▲123 | 13.33 ▼1.02 | 2.13 ▲0.26 | 48.69 ▲3.07 |
Dashboard /wp-admin | 2,247 ▲61 | 5.80 ▲0.85 | 103.12 ▼17.54 | 41.24 ▼0.44 |
Posts /wp-admin/edit.php | 2,130 ▲38 | 2.02 ▲0.03 | 37.83 ▲1.18 | 32.51 ▲0.60 |
Add New Post /wp-admin/post-new.php | 1,550 ▲16 | 17.68 ▼5.38 | 677.18 ▲37.03 | 54.40 ▼5.79 |
Media Library /wp-admin/upload.php | 1,429 ▲41 | 4.13 ▼0.05 | 100.70 ▼7.18 | 46.18 ▼0.60 |
Add New Pattern /wp-admin/post-new.php?post_type=accpattern | 6,163 | 25.78 | 872.68 | 35.55 |
All Patterns /wp-admin/edit.php?post_type=accpattern | 1,108 | 1.96 | 32.17 | 30.29 |
Pattern Categories /wp-admin/edit-tags.php?taxonomy=mypatterns&post_type=accpattern | 1,306 | 2.13 | 26.50 | 30.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.62MB] 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
- This plugin did not uninstall successfully, leaving 8 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- accelerate-patterns_current_version
- accelerate-patterns_initial_version
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 Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The SRP test was a success
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
These are user-side errors you should fix
- > GET request to /wp-admin/post-new.php?post_type=accpattern
- > Network (severe)
wp-content/plugins/accelerate-patterns/script/acceleratePatternsStyle.css?ver=1697011175 - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/post-new.php?post_type=accpattern
- > Network (severe)
wp-content/plugins/accelerate-patterns/script/acceleratePatternsClass.js?ver=1697011175 - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/edit.php?post_type=accpattern
- > Network (severe)
wp-content/plugins/accelerate-patterns/script/acceleratePatternsStyle.css?ver=1697011178 - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/edit.php?post_type=accpattern
- > Network (severe)
wp-content/plugins/accelerate-patterns/script/acceleratePatternsClass.js?ver=1697011178 - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/edit-tags.php?taxonomy=mypatterns&post_type=accpattern
- > Network (severe)
wp-content/plugins/accelerate-patterns/script/acceleratePatternsStyle.css?ver=1697011180 - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/edit-tags.php?taxonomy=mypatterns&post_type=accpattern
- > Network (severe)
wp-content/plugins/accelerate-patterns/script/acceleratePatternsClass.js?ver=1697011180 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% 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
Attributes that need to be fixed:
- Tested up to: Invalid version format
- Requires at least: Invalid version format
accelerate-patterns/functions.php 92% from 13 tests
"Accelerate Patterns" version 1.0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("accelerate-patterns.php" instead of "functions.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 detected642 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 37 | 266 | 492 |
JavaScript | 1 | 1 | 8 | 106 |
CSS | 2 | 1 | 8 | 44 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 63.00 |
▷ Minimum class complexity | 63.00 |
▷ Maximum class complexity | 63.00 |
Average method complexity | 3.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.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 | 28 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 28 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin