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
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼7.25ms] Passed 4 tests
An overview of server-side resources used by Generate Posts and Terms
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.07 ▼4.12 |
Dashboard /wp-admin | 3.32 ▲0.02 | 44.49 ▼3.06 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 48.51 ▼7.19 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 82.57 ▼14.61 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 32.60 ▼0.69 |
Generate Posts and Terms /wp-admin/plugins.php?page=generate_posts_and_terms | 3.24 | 31.10 |
Server storage [IO: ▲0.09MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Generate Posts and Terms
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲47 | 13.66 ▼0.72 | 1.63 ▼0.15 | 38.29 ▼5.98 |
Dashboard /wp-admin | 2,213 ▲25 | 4.86 ▼1.03 | 97.57 ▼6.00 | 42.59 ▼0.71 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 1.98 ▼0.08 | 38.27 ▼4.37 | 35.46 ▼0.67 |
Add New Post /wp-admin/post-new.php | 1,537 ▼7 | 23.19 ▲4.81 | 655.48 ▲38.33 | 49.48 ▼5.16 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.21 ▲0.07 | 92.22 ▼4.03 | 40.44 ▼3.81 |
Generate Posts and Terms /wp-admin/plugins.php?page=generate_posts_and_terms | 1,144 | 1.99 | 31.23 | 32.78 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
7 plugin tags: terms, categories, tags, posts, dummy...
generate-posts-and-terms/generate-posts-and-terms.php Passed 13 tests
The entry point to "Generate Posts and Terms" version 1.4 is a PHP file that has certain tags in its header comment area
119 characters long description:
This plugin will help you generate dummy new posts and terms. (Go to: Dashboard -> Plugins -> Generate Posts and Terms)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin1,860 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 515 | 159 | 1,559 |
CSS | 1 | 48 | 0 | 234 |
JavaScript | 1 | 29 | 10 | 67 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 2 | |
▷ Static methods | 1 | 50.00% |
▷ Public methods | 1 | 50.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 50.00% |
Functions | 47 | |
▷ Named functions | 47 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin