Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.70ms] Passed 4 tests
Analyzing server-side resources used by Limit Posts by 99 Robots
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 34.95 ▼9.53 |
Dashboard /wp-admin | 3.32 ▼0.02 | 45.83 ▼11.08 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 47.62 ▲3.00 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 97.52 ▲14.57 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.82 ▲2.81 |
Limit Posts /wp-admin/options-general.php?page=wpsite-limit-posts-admin-menu-settings | 3.26 | 30.83 |
Server storage [IO: ▲0.39MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 28 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Limit Posts by 99 Robots
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.38 ▼0.24 | 1.56 ▼0.20 | 37.39 ▼5.55 |
Dashboard /wp-admin | 2,199 ▲22 | 5.62 ▲0.00 | 85.47 ▼3.48 | 36.23 ▼5.35 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 1.97 ▼0.03 | 42.76 ▲9.19 | 36.62 ▲2.15 |
Add New Post /wp-admin/post-new.php | 1,532 ▼3 | 23.50 ▲5.21 | 674.16 ▲57.77 | 56.06 ▼12.77 |
Media Library /wp-admin/upload.php | 1,398 ▼2 | 4.21 ▲0.03 | 99.66 ▼7.05 | 40.35 ▼6.15 |
Limit Posts /wp-admin/options-general.php?page=wpsite-limit-posts-admin-menu-settings | 1,127 | 2.29 | 41.01 | 69.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- db_upgraded
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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 items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/wpsite-limit-posts/admin/footer.php
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/wpsite-limit-posts/admin/sidebar.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/wpsite-limit-posts/admin/header.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/wpsite-limit-posts/admin/header.php:7
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There are user-side issues you should fix
- > GET request to /wp-admin/options-general.php?page=wpsite-limit-posts-admin-menu-settings
- > Network (severe)
http://feeds.feedburner.com/99robots?format=sigpro - Failed to load resource: net::ERR_BLOCKED_BY_RESPONSE.NotSameSite
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Donate link: Please fix this invalid url: ""
- Tags: You are using too many tags: 14 tag instead of maximum 10
wpsite-limit-posts/wpsite-limit-posts.php 92% from 13 tests
Analyzing the main PHP file in "Limit Posts by 99 Robots" version 2.1.3
Please take the time to fix the following:
- Domain Path: The domain path points to a folder that does not exist ("/languages")
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 plugin653 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 120 | 149 | 362 |
CSS | 3 | 60 | 13 | 265 |
JavaScript | 1 | 2 | 0 | 19 |
Markdown | 1 | 3 | 0 | 7 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.77 |
Average class complexity | 53.00 |
▷ Minimum class complexity | 53.00 |
▷ Maximum class complexity | 53.00 |
Average method complexity | 3.89 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.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 | 18 | |
▷ Static methods | 1 | 5.56% |
▷ Public methods | 16 | 88.89% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 11.11% |
Functions | 1 | |
▷ Named functions | 1 | 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
15 PNG files occupy 0.17MB with 0.11MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/ad-plugin-request.png | 14.13KB | 5.42KB | ▼ 61.62% |
img/logo-only-50h.png | 9.93KB | 2.57KB | ▼ 74.15% |
img/avatar-gray-50.png | 6.39KB | 2.24KB | ▼ 64.96% |
img/ad-need-support.png | 15.68KB | 5.72KB | ▼ 63.54% |
img/ad-themes.png | 16.03KB | 5.04KB | ▼ 68.52% |