Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.14MB] [CPU: ▼3.47ms] Passed 4 tests
An overview of server-side resources used by Socials - AG
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 44.31 ▲7.49 |
Dashboard /wp-admin | 3.47 ▲0.12 | 53.52 ▼4.92 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 48.38 ▲2.98 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 85.05 ▼17.36 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 40.57 ▲5.41 |
Follow /wp-admin/admin.php?page=ag-admin-page-follow | 3.36 | 40.54 |
AGPlugin /wp-admin/admin.php?page=ag-admin-page | 3.36 | 39.48 |
Share /wp-admin/admin.php?page=ag-admin-page-share | 3.36 | 36.55 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Socials - AG
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲72 | 14.51 ▲0.16 | 1.90 ▲0.34 | 41.90 ▲3.13 |
Dashboard /wp-admin | 2,222 ▲42 | 5.51 ▼0.15 | 88.61 ▲3.23 | 36.12 ▼7.15 |
Posts /wp-admin/edit.php | 2,127 ▲27 | 1.97 ▼0.00 | 34.04 ▼1.44 | 36.47 ▲3.63 |
Add New Post /wp-admin/post-new.php | 1,549 ▲21 | 22.97 ▼0.42 | 661.78 ▼5.20 | 51.70 ▼10.37 |
Media Library /wp-admin/upload.php | 1,427 ▲27 | 4.20 ▲0.02 | 97.13 ▼5.40 | 40.58 ▼4.64 |
Follow /wp-admin/admin.php?page=ag-admin-page-follow | 1,076 | 2.00 | 23.54 | 39.54 |
AGPlugin /wp-admin/admin.php?page=ag-admin-page | 792 | 2.02 | 23.58 | 25.11 |
Share /wp-admin/admin.php?page=ag-admin-page-share | 861 | 2.03 | 24.91 | 31.99 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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
Please take a closer look at the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/socials-ag/agplugin-socials-plugin.php
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'AGPlugin\\AdminPage' not found in wp-content/plugins/socials-ag/includes/Share.php:7
- > PHP Fatal error
Uncaught Error: Class 'AGPlugin\\AdminPage' not found in wp-content/plugins/socials-ag/includes/Follow.php:7
- > 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 93% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
3 plugin tags: navigation, media, socials
socials-ag/agplugin-socials-plugin.php 85% from 13 tests
The entry point to "Socials - AG" version 0.00.01 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: Name the main plugin file the same as the plugin slug ("socials-ag.php" instead of "agplugin-socials-plugin.php")
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
Success! There were no dangerous files found in this plugin618 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 20 | 92 | 342 |
CSS | 2 | 8 | 13 | 198 |
PO File | 1 | 17 | 18 | 50 |
Markdown | 1 | 8 | 0 | 28 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 1.52 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 29 | |
▷ Static methods | 29 | 100.00% |
▷ Public methods | 29 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 2 | 100.00% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin