Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼3.25ms] Passed 4 tests
This is a short check of server-side resources used by Wordpress Admin Ajax Posts
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 39.66 ▼2.49 |
Dashboard /wp-admin | 3.34 ▲0.04 | 46.37 ▼0.46 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 49.30 ▼0.75 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 84.92 ▼9.31 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 37.82 ▲2.73 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 28 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Wordpress Admin Ajax Posts
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,836 ▲101 | 13.27 ▼1.10 | 1.55 ▼0.23 | 43.35 ▼0.92 |
Dashboard /wp-admin | 2,242 ▲51 | 5.85 ▼0.04 | 98.66 ▲2.18 | 40.14 ▼2.25 |
Posts /wp-admin/edit.php | 2,125 ▲39 | 2.04 ▲0.03 | 36.48 ▼1.40 | 32.58 ▼1.67 |
Add New Post /wp-admin/post-new.php | 1,548 ▲34 | 23.41 ▲5.89 | 694.31 ▼0.52 | 54.75 ▲2.68 |
Media Library /wp-admin/upload.php | 1,424 ▲36 | 4.22 ▼0.02 | 93.94 ▼1.28 | 43.96 ▼0.18 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- 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
Even though everything seems fine, this is not 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 items
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/wp-admin-ajax-posts/wp-admin-ajax-posts.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-admin-ajax-posts/inc/about-page.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 93% 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
Attributes that require attention:
- Screenshots: A description for screenshot #1 is required in wp-admin-ajax-posts/assets to your readme.txt
- Contributors: The plugin contributors field is missing
wp-admin-ajax-posts/wp-admin-ajax-posts.php Passed 13 tests
The main PHP file in "Wordpress Admin Ajax Posts" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
91 characters long description:
A plugin for fast post management on backend area. Works with all types, products included.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected579 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 8 | 72 | 72 | 434 |
PHP | 3 | 39 | 39 | 140 |
CSS | 3 | 2 | 7 | 4 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 16 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 16 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/logo.png | 7.56KB | 3.99KB | ▼ 47.23% |
img/logo-wm.png | 7.40KB | 4.11KB | ▼ 44.47% |
img/mini_icon.png | 0.38KB | 0.44KB | 0.00% |