Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼6.10ms] Passed 4 tests
A check of server-side resources used by Auto Limit Posts Reloaded
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 39.97 ▼4.20 |
Dashboard /wp-admin | 3.37 ▲0.06 | 46.29 ▼3.78 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 47.08 ▲1.99 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 82.38 ▼18.39 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 37.27 ▲2.00 |
Auto Limit Posts /wp-admin/options-general.php?page=auto-limit-posts-reloaded/auto-limit-posts.php | 3.26 | 30.09 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, 18 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
alpr_post_sharetext |
can_compress_scripts |
alpr_post_home |
alpr_style |
alpr_post_category |
db_upgraded |
alpr_post_linktext |
alpr_post_ending |
... |
Browser metrics Passed 4 tests
Auto Limit Posts Reloaded: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,798 ▲12 | 14.59 ▲0.06 | 1.58 ▼0.30 | 43.71 ▼0.53 |
Dashboard /wp-admin | 2,196 ▲19 | 5.49 ▼0.16 | 81.87 ▼6.06 | 38.60 ▼2.02 |
Posts /wp-admin/edit.php | 2,101 ▲1 | 2.01 ▲0.03 | 33.58 ▼1.39 | 32.61 ▲0.02 |
Add New Post /wp-admin/post-new.php | 1,531 ▼4 | 22.99 ▲4.85 | 681.00 ▲47.15 | 62.84 ▼10.36 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.20 ▲0.01 | 110.22 ▲10.82 | 48.22 ▲6.73 |
Auto Limit Posts /wp-admin/options-general.php?page=auto-limit-posts-reloaded/auto-limit-posts.php | 1,016 | 2.13 | 21.96 | 51.10 |
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
The following items require your attention
- This plugin does not fully uninstall, leaving 18 options in the database
- alpr_post_search
- theysaidso_admin_options
- alpr_post_ending
- alpr_post_home
- alpr_share
- db_upgraded
- alpr_post_letters
- widget_recent-posts
- alpr_post_wordcut
- widget_recent-comments
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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
Almost there! Just fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_option() in wp-content/plugins/auto-limit-posts-reloaded/auto-limit-posts.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Screenshots: Screenshot #1 (Limiting posts by word, after an approximate number of letters, linking to the full text for screenshots and downloads. CSS is used to slightly increase the spacing in reference links.) image not found
auto-limit-posts-reloaded/auto-limit-posts.php 85% from 13 tests
The main PHP file in "Auto Limit Posts Reloaded" ver. 2.5 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("auto-limit-posts-reloaded.php" instead of "auto-limit-posts.php")
- Description: The description should be shorter than 140 characters (currently 359 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin322 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 93 | 29 | 322 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin