Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼298.00ms] Passed 4 tests
An overview of server-side resources used by Frontend Post WordPress Plugin - AccessPress Anonymous Post
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.10 | 56.29 ▲7.20 |
Dashboard /wp-admin | 3.45 ▲0.04 | 32.89 ▼0.92 |
Posts /wp-admin/edit.php | 3.67 ▲0.03 | 37.36 ▲0.44 |
Add New Post /wp-admin/post-new.php | 6.91 ▼0.06 | 90.49 ▼1,192.21 |
Media Library /wp-admin/upload.php | 3.33 ▲0.03 | 26.11 ▲0.71 |
AccessPress Anonymous Post /wp-admin/admin.php?page=anonymous-post | 3.42 | 28.98 |
Documentation /wp-admin/admin.php?page=ap-doc | 3.13 | 18.39 |
Check Premium Version /wp-admin/admin.php?page=ap-premium | 3.13 | 17.67 |
Server storage [IO: ▲2.15MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 53 new files
Database: no new tables, 1 new option
New WordPress options |
---|
ap_settings |
Browser metrics Passed 4 tests
Checking browser requirements for Frontend Post WordPress Plugin - AccessPress Anonymous Post
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,949 ▲205 | 16.11 ▲0.36 | 9.16 ▲2.87 | 2.27 ▼0.18 |
Dashboard /wp-admin | 2,931 ▲73 | 6.09 ▼0.09 | 118.86 ▼8.87 | 171.53 ▲10.83 |
Posts /wp-admin/edit.php | 2,696 ▲5 | 2.95 ▼0.28 | 63.49 ▼0.71 | 139.36 ▼7.02 |
Add New Post /wp-admin/post-new.php | 1,783 ▲122 | 21.29 ▲4.96 | 409.14 ▼11.25 | 189.46 ▲29.87 |
Media Library /wp-admin/upload.php | 1,734 ▲39 | 5.51 ▲0.02 | 128.00 ▼13.59 | 206.95 ▲24.41 |
AccessPress Anonymous Post /wp-admin/admin.php?page=anonymous-post | 3,366 | 8.85 | 180.54 | 207.72 |
Documentation /wp-admin/admin.php?page=ap-doc | 1,221 | 9.40 | 314.99 | 205.40 |
Check Premium Version /wp-admin/admin.php?page=ap-premium | 2,590 | 20.99 | 544.38 | 226.55 |
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
You still need to fix the following
- This plugin does not fully uninstall, leaving 1 option in the database
- ap_settings
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 3× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/accesspress-anonymous-post/inc/cores/front-form.php
- > /wp-content/plugins/accesspress-anonymous-post/accesspress-anonymous-post.php
- > /wp-content/plugins/accesspress-anonymous-post/inc/cores/save-post.php
- 43× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Undefined variable: editor_type in wp-content/plugins/accesspress-anonymous-post/inc/cores/save-settings.php on line 151
- > PHP Notice
Undefined variable: post_category in wp-content/plugins/accesspress-anonymous-post/inc/cores/save-settings.php on line 121
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/accesspress-anonymous-post/inc/boards/about.php:2
- > PHP Notice
Undefined variable: login_message in wp-content/plugins/accesspress-anonymous-post/inc/cores/save-settings.php on line 130
- > PHP Notice
Undefined variable: editor_size in wp-content/plugins/accesspress-anonymous-post/inc/cores/save-settings.php on line 152
- > PHP Notice
Undefined variable: google_captcha_secretkey in wp-content/plugins/accesspress-anonymous-post/inc/cores/save-settings.php on line 167
- > PHP Notice
Undefined variable: login_link_text in wp-content/plugins/accesspress-anonymous-post/inc/cores/save-settings.php on line 131
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/accesspress-anonymous-post/inc/settings.php:6
- > PHP Notice
Undefined variable: math_captcha_error_message in wp-content/plugins/accesspress-anonymous-post/inc/cores/save-settings.php on line 164
- > PHP Notice
Undefined variable: ap_settings in wp-content/plugins/accesspress-anonymous-post/inc/cores/shortcode.php on line 7
- > PHP Notice
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There are user-side issues you should fix
- > GET request to /wp-admin/admin.php?page=ap-doc
- > Network (severe)
https://accesspressthemes.com/wordpress-plugin-instruction-anonymous-post/ - Failed to load resource: the server responded with a status of 404 ()
- > GET request to /wp-admin/admin.php?page=ap-doc
- > Javascript (severe) in unknown
https://accesspressthemes.com/wordpress-plugin-instruction-anonymous-post/ - Access to script at 'https://embed.tawk.to/60cc2bbb65b7290ac63693ec/1f8eollms' from origin 'https://accesspressthemes.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ap-premium
- > Network (severe)
https://embed.tawk.to/60cc2bbb65b7290ac63693ec/1f8eollms - Failed to load resource: net::ERR_FAILED
- > GET request to /wp-admin/admin.php?page=ap-premium
- > Javascript (severe) in unknown
https://accesspressthemes.com/wordpress-plugins/accesspress-anonymous-post-premium/ - Access to script at 'https://embed.tawk.to/60cc2bbb65b7290ac63693ec/1f8eollms' from origin 'https://accesspressthemes.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% 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 need to be fixed:
- Tags: You are using too many tags: 15 tag instead of maximum 10
accesspress-anonymous-post/accesspress-anonymous-post.php 92% from 13 tests
Analyzing the main PHP file in "Frontend Post WordPress Plugin - AccessPress Anonymous Post" version 2.8.2
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 207 characters long)
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
There were no executable files found in this plugin3,803 lines of code in 25 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 8 | 713 | 1,247 | 1,793 |
PHP | 13 | 151 | 164 | 1,460 |
CSS | 2 | 4 | 0 | 400 |
JavaScript | 2 | 24 | 13 | 150 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 45.00 |
▷ Minimum class complexity | 45.00 |
▷ Maximum class complexity | 45.00 |
Average method complexity | 2.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.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 | 28 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 28 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.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
11 PNG files occupy 0.11MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/flicker.png | 1.45KB | 0.57KB | ▼ 60.47% |
images/plugin.png | 12.50KB | 5.31KB | ▼ 57.50% |
images/pinterest.png | 2.17KB | 1.25KB | ▼ 42.30% |
images/ap-icon.png | 1.22KB | 0.27KB | ▼ 78.07% |
images/aplite.png | 6.73KB | 3.22KB | ▼ 52.21% |