Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The following installer errors require your attention
- Install procedure had errors
- > Notice in wp-content/plugins/dynamic-post/post-types/post_type_dynamic_post.php+299
Undefined index: HTTP_ORIGIN
Server metrics [RAM: ▼1.57MB] [CPU: ▼57.16ms] Passed 4 tests
A check of server-side resources used by Dynamic Post
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.42 ▼1.04 | 7.53 ▼34.36 |
Dashboard /wp-admin | 2.44 ▼0.90 | 7.72 ▼57.30 |
Posts /wp-admin/edit.php | 2.45 ▼0.91 | 8.51 ▼41.45 |
Add New Post /wp-admin/post-new.php | 2.45 ▼3.44 | 7.75 ▼95.52 |
Media Library /wp-admin/upload.php | 2.45 ▼0.78 | 9.10 ▼26.05 |
Server storage [IO: ▲3.31MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 39 new files
Database: 1 new table, 11 new options
New tables |
---|
wp_api_status |
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
canonical_metadata |
hide_images |
feat_ured |
widget_recent-posts |
auto_up |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Dynamic Post
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,912 ▲166 | 13.54 ▼0.63 | 8.20 ▲6.29 | 38.91 ▼0.35 |
Dashboard /wp-admin | 2,219 ▲31 | 4.87 ▼0.10 | 95.06 ▼14.07 | 37.58 ▼6.11 |
Posts /wp-admin/edit.php | 2,105 ▲16 | 2.00 ▼0.01 | 33.44 ▼3.00 | 34.65 ▲0.03 |
Add New Post /wp-admin/post-new.php | 1,540 ▲21 | 23.55 ▲0.14 | 596.00 ▼77.51 | 55.98 ▲0.36 |
Media Library /wp-admin/upload.php | 1,407 ▲22 | 4.15 ▼0.03 | 91.34 ▼9.46 | 43.66 ▼3.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/dynamic-post/post-types/post_type_dynamic_post.php+299
Undefined index: HTTP_ORIGIN
- Zombie tables detected upon uninstall: 1 table
- wp_api_status
- Zombie WordPress options were found after uninstall: 11 options
- feat_ured
- hide_images
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- hide_metadata
- db_upgraded
- canonical_metadata
- widget_recent-posts
- widget_theysaidso_widget
- ...
Smoke tests Passed 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 Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
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 errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Tags: Too many tags (16 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Screenshots: Add an image for screenshot #1 (Dynamic Post - common settings.)
dynamic-post/wp_plugin_dynamic_post.php 92% from 13 tests
The main PHP script in "Dynamic Post" version 3.02.2 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("dynamic-post.php" instead of "wp_plugin_dynamic_post.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin16,610 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 5 | 23 | 25 | 9,739 |
SVG | 2 | 0 | 0 | 2,959 |
PHP | 4 | 123 | 263 | 2,314 |
JavaScript | 2 | 582 | 205 | 1,598 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 18.33 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 36.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 26 | |
▷ Static methods | 1 | 3.85% |
▷ Public methods | 24 | 92.31% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 7.69% |
Functions | 25 | |
▷ Named functions | 24 | 96.00% |
▷ Anonymous functions | 1 | 4.00% |
Constants | 4 | |
▷ Global constants | 2 | 50.00% |
▷ Class constants | 2 | 50.00% |
▷ Public constants | 2 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
5 PNG files occupy 0.86MB with 0.54MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-4.png | 223.35KB | 79.61KB | ▼ 64.36% |
assets/screenshot-1.png | 200.30KB | 69.76KB | ▼ 65.17% |
assets/dp-logo.png | 11.42KB | 4.94KB | ▼ 56.77% |
assets/screenshot-3.png | 216.94KB | 78.06KB | ▼ 64.02% |
assets/screenshot-2.png | 230.92KB | 82.55KB | ▼ 64.25% |