Benchmarks
Plugin footprint 65% 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: ▼1.93MB] [CPU: ▼53.95ms] Passed 4 tests
This is a short check of server-side resources used by dm-future-posts
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.06 ▼1.40 | 3.95 ▼38.44 |
Dashboard /wp-admin | 2.08 ▼1.22 | 5.95 ▼48.39 |
Posts /wp-admin/edit.php | 2.08 ▼1.28 | 5.95 ▼46.89 |
Add New Post /wp-admin/post-new.php | 2.08 ▼3.81 | 5.43 ▼82.07 |
Media Library /wp-admin/upload.php | 2.08 ▼1.15 | 5.98 ▼23.44 |
Server storage [IO: ▲0.01MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
dm-future-posts: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.38 ▲0.03 | 1.87 ▼0.10 | 44.35 ▲0.30 |
Dashboard /wp-admin | 2,195 ▲15 | 5.64 ▼0.03 | 84.94 ▼4.98 | 38.95 ▼3.24 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.02 ▲0.04 | 40.79 ▼2.29 | 33.75 ▼5.70 |
Add New Post /wp-admin/post-new.php | 1,528 ▼7 | 23.30 ▲5.06 | 650.46 ▲31.46 | 55.49 ▼13.06 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.14 ▼0.06 | 113.27 ▲10.75 | 48.02 ▲1.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Uninstall procedure had uncaught errors
- > User deprecated in wp-includes/functions.php+5453
Function register_sidebar_widget is deprecated since version 2.8.0! Use wp_register_sidebar_widget() instead.
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
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 errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/dm-future-posts/dm-future-posts.php:89
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
1 plugin tags: posts
dm-future-posts/dm-future-posts.php Passed 13 tests
The entry point to "dm-future-posts" version 0.3 is a PHP file that has certain tags in its header comment area
111 characters long description:
Виджет. Выводит список постов с отложенной датой публикации.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin70 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 4 | 16 | 70 |
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.26 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin