Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.07MB] [CPU: ▼5.91ms] Passed 4 tests
This is a short check of server-side resources used by Seeder
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.08 | 36.07 ▼5.72 |
Dashboard /wp-admin | 3.38 ▲0.04 | 46.89 ▼11.50 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 47.58 ▼2.00 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 94.19 ▲1.77 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 30.99 ▼4.43 |
Seeder /wp-admin/tools.php?page=seeder | 3.27 | 30.46 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 27 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Seeder
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.59 ▼0.83 | 1.78 ▲0.10 | 37.80 ▲0.08 |
Dashboard /wp-admin | 2,213 ▲22 | 5.85 ▲0.98 | 108.61 ▼5.18 | 42.17 ▲1.26 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.04 ▲0.05 | 40.32 ▲1.78 | 35.89 ▲2.24 |
Add New Post /wp-admin/post-new.php | 1,545 ▲3 | 18.24 ▼0.04 | 587.03 ▼13.84 | 53.24 ▼8.12 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.21 ▼0.02 | 96.78 ▼9.90 | 41.44 ▼2.61 |
Seeder /wp-admin/tools.php?page=seeder | 779 | 2.18 | 23.76 | 26.03 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 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
Please take a closer look at the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/seeder/seeder.php
- 5× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function A7\\Seeder\\add_action() in wp-content/plugins/seeder/src/handler.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function A7\\Admin_Notices\\add_action() in wp-content/plugins/seeder/vendor/a7/admin-notices/src/admin-notices.php:28
- > PHP Fatal error
Uncaught Error: Call to undefined function A7\\Admin_Notices\\add_action() in wp-content/plugins/seeder/vendor/a7/admin-notices/src/admin-notices.php:28
- > PHP Fatal error
Uncaught Error: Call to undefined function A7\\Seeder\\add_action() in wp-content/plugins/seeder/src/admin.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function A7\\Admin_Notices\\add_action() in wp-content/plugins/seeder/vendor/a7/admin-notices/src/admin-notices.php:28
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
3 plugin tags: seed, infrequent actions, administrator
seeder/seeder.php Passed 13 tests
The principal PHP file in "Seeder" v. 2.0.0 is loaded by WordPress automatically on each request
57 characters long description:
Perform heavy / infrequent actions in a controlled manner
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin765 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 170 | 202 | 600 |
JSON | 4 | 0 | 0 | 130 |
Markdown | 2 | 18 | 0 | 35 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 19.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 3.35 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 24 | |
▷ Static methods | 3 | 12.50% |
▷ Public methods | 23 | 95.83% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 4.17% |
Functions | 17 | |
▷ Named functions | 13 | 76.47% |
▷ Anonymous functions | 4 | 23.53% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin