Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼11.63ms] Passed 4 tests
This is a short check of server-side resources used by Siiimple APH
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 37.85 ▼1.12 |
Dashboard /wp-admin | 3.30 ▼0.04 | 34.94 ▼29.48 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 44.40 ▼2.81 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 82.99 ▼12.26 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 33.06 ▼1.97 |
Server storage [IO: ▲1.06MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Siiimple APH
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 1,899 ▼847 | 13.89 ▼0.54 | 6.76 ▲5.00 | 51.12 ▲10.36 |
Dashboard /wp-admin | 1,239 ▼952 | 5.26 ▼0.62 | 71.61 ▼25.36 | 32.80 ▼11.30 |
Posts /wp-admin/edit.php | 1,913 ▼176 | 2.03 ▼0.03 | 31.31 ▼5.57 | 29.27 ▼1.03 |
Add New Post /wp-admin/post-new.php | 1,388 ▼126 | 22.92 ▲5.48 | 671.16 ▼13.77 | 60.56 ▲6.37 |
Media Library /wp-admin/upload.php | 1,212 ▼173 | 4.19 ▼0.02 | 97.13 ▼3.99 | 39.98 ▼5.40 |
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
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however 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 take a closer look at the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/siiimple-aph/services/cookieconsent.php
- 11× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/siiimple-aph/includes/functions/options.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/siiimple-aph/includes/functions/dashboard.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function flatsome_option() in wp-content/plugins/siiimple-aph/templates/aph.php:5
- > PHP Warning
Use of undefined constant IIIAPH_PLUGIN_FILE - assumed 'IIIAPH_PLUGIN_FILE' (this will throw an Error in a future version of PHP) in wp-content/plugins/siiimple-aph/includes/init.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/siiimple-aph/includes/functions/front-end.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function shortcode_exists() in wp-content/plugins/siiimple-aph/includes/functions/shortcodes.php:2
- > PHP Warning
require_once(./includes/functions/front-end.php): failed to open stream: No such file or directory in wp-content/plugins/siiimple-aph/includes/init.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/siiimple-aph/includes/functions/templater.php:54
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/siiimple-aph/services/googletagmanager.php:1
- > PHP Fatal error
require_once(): Failed opening required './includes/functions/front-end.php' (include_path='.:/usr/share/php') in wp-content/plugins/siiimple-aph/includes/init.php on line 2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
3 plugin tags: aph, siiimple, dashboard
siiimple-aph/siiimple-aph.php 92% from 13 tests
The main PHP script in "Siiimple APH" version 1.0.6 is automatically included on every request by WordPress
The following require your attention:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected489 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 38 | 38 | 405 |
CSS | 3 | 2 | 2 | 72 |
SVG | 1 | 0 | 0 | 11 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
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 | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 2.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 5 | |
▷ Static methods | 1 | 20.00% |
▷ Public methods | 4 | 80.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 20.00% |
Functions | 24 | |
▷ Named functions | 24 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
There were not PNG files found in your plugin