Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼2.22ms] Passed 4 tests
This is a short check of server-side resources used by Post List Generator
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 41.32 ▼3.29 |
Dashboard /wp-admin | 3.37 ▲0.06 | 45.67 ▼0.36 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 47.71 ▼2.32 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 94.45 ▲0.05 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 30.76 ▼2.92 |
Post List設定 /wp-admin/options-general.php?page=post-list-generator/post-list-generator.php | 3.25 | 30.48 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 8 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
post_list_options |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Post List Generator
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,890 ▲119 | 14.03 ▼0.27 | 5.67 ▲3.49 | 43.49 ▲7.17 |
Dashboard /wp-admin | 2,210 ▲28 | 4.85 ▼0.05 | 108.05 ▲3.39 | 44.19 ▼3.03 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.01 ▲0.01 | 40.12 ▼1.20 | 39.15 ▲2.47 |
Add New Post /wp-admin/post-new.php | 1,539 ▲6 | 23.18 ▲0.06 | 654.48 ▲50.29 | 54.61 ▲1.88 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.23 ▲0.07 | 97.69 ▼0.46 | 44.21 ▲1.35 |
Post List設定 /wp-admin/options-general.php?page=post-list-generator/post-list-generator.php | 924 | 2.07 | 23.13 | 80.84 |
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
The following items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- post_list_options
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These errors were triggered by the plugin
- 5 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=post-list-generator/post-list-generator.php
- > Notice in wp-content/plugins/post-list-generator/admin-ui.php+80
Undefined index: plg_dateformat
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
The following issues need your attention
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/post-list-generator/post-list-view.php
- 7× PHP files trigger server errors when accessed directly:
- > PHP Notice
Undefined variable: info in wp-content/plugins/post-list-generator/post-list-view.php on line 12
- > PHP Notice
Trying to get property 'has_next' of non-object in wp-content/plugins/post-list-generator/post-list-view.php on line 12
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/post-list-generator/post-list-view.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/post-list-generator/post-list-generator.php:53
- > PHP Notice
Trying to get property 'items' of non-object in wp-content/plugins/post-list-generator/post-list-view.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'PLG' not found in wp-content/plugins/post-list-generator/admin-view.php:9
- > PHP Notice
Undefined variable: info in wp-content/plugins/post-list-generator/post-list-view.php on line 3
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 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
These attributes need your attention:
- Donate link: Invalid URI found ("")
post-list-generator/post-list-generator.php Passed 13 tests
The principal PHP file in "Post List Generator" v. 1.3.0 is loaded by WordPress automatically on each request
78 characters long description:
記事(投稿・固定ページの一覧を作成するプラグインです
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected344 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 36 | 17 | 260 |
CSS | 1 | 1 | 0 | 42 |
JavaScript | 1 | 1 | 0 | 42 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 2.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 24 | |
▷ Static methods | 4 | 16.67% |
▷ Public methods | 24 | 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 | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 100.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 were not PNG files found in your plugin