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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼5.93ms] Passed 4 tests
Analyzing server-side resources used by Simple WP Limit Posts Automatically
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 39.70 ▼5.90 |
Dashboard /wp-admin | 3.35 ▲0.04 | 51.14 ▼1.52 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 47.94 ▼6.98 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 97.96 ▼9.31 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 39.25 ▲5.38 |
Limit Posts Options /wp-admin/options-general.php?page=simple-wp-limit-posts | 3.24 | 42.35 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Simple WP Limit Posts Automatically
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲57 | 14.30 ▼0.08 | 1.94 ▲0.14 | 42.46 ▼4.61 |
Dashboard /wp-admin | 2,202 ▲22 | 5.61 ▼0.08 | 92.20 ▼4.25 | 42.26 ▼1.09 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.01 ▲0.01 | 38.40 ▲0.33 | 35.20 ▲1.58 |
Add New Post /wp-admin/post-new.php | 1,544 ▲13 | 23.24 ▲0.04 | 588.76 ▼65.58 | 53.92 ▼3.57 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.21 ▼0.23 | 99.81 ▼5.69 | 43.70 ▼0.41 |
Limit Posts Options /wp-admin/options-general.php?page=simple-wp-limit-posts | 920 | 2.05 | 27.01 | 33.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means 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 fix the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/simple-wp-limit-posts-automatically/simple-wp-limit-posts-automatically.php:160
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
10 plugin tags: wordpress, limit, description, posts, excerpt...
simple-wp-limit-posts-automatically/simple-wp-limit-posts-automatically.php 92% from 13 tests
This is the main PHP file of "Simple WP Limit Posts Automatically" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 201 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected225 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 28 | 29 | 225 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.61 |
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 | 3 | |
▷ Named functions | 3 | 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
There were not PNG files found in your plugin