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.11MB] [CPU: ▼2.48ms] Passed 4 tests
Analyzing server-side resources used by View All Post's Pages
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 36.53 ▼6.24 |
Dashboard /wp-admin | 3.42 ▲0.11 | 61.58 ▲9.51 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 51.85 ▲3.95 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 82.70 ▼6.94 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 38.70 ▼0.70 |
View All Post's Pages /wp-admin/options-general.php?page=view_all_posts_pages | 3.30 | 32.13 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for View All Post's Pages
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲58 | 14.75 ▲0.46 | 1.82 ▼0.16 | 40.41 ▼5.44 |
Dashboard /wp-admin | 2,222 ▲42 | 5.88 ▲0.20 | 106.19 ▲7.31 | 47.85 ▲3.35 |
Posts /wp-admin/edit.php | 2,134 ▲34 | 2.13 ▲0.15 | 43.46 ▲4.03 | 42.49 ▲3.10 |
Add New Post /wp-admin/post-new.php | 1,583 ▲43 | 18.53 ▼4.51 | 631.02 ▼32.60 | 54.00 ▲0.91 |
Media Library /wp-admin/upload.php | 1,424 ▲27 | 4.22 ▲0.07 | 103.20 ▼8.52 | 46.07 ▼0.01 |
View All Post's Pages /wp-admin/options-general.php?page=view_all_posts_pages | 1,058 | 2.05 | 33.28 | 43.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
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 register_deactivation_hook() in wp-content/plugins/view-all-posts-pages/view-all-posts-pages.php:105
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Tags: You are using too many tags: 11 tag instead of maximum 10
view-all-posts-pages/view-all-posts-pages.php 92% from 13 tests
This is the main PHP file of "View All Post's Pages" version 0.9.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 255 characters long)
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
Success! There were no dangerous files found in this plugin427 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 117 | 300 | 427 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 77.00 |
▷ Minimum class complexity | 77.00 |
▷ Maximum class complexity | 77.00 |
Average method complexity | 4.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.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 | 20 | |
▷ Static methods | 1 | 5.00% |
▷ Public methods | 16 | 80.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 20.00% |
Functions | 4 | |
▷ Named functions | 4 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin