Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
It is recommended to fix the following installer errors
- The plugin cannot be installed
- > Notice in wp-content/plugins/apollo-site-tools/wp_ga_main.php+13
Trying to access array offset on value of type bool
Server metrics [RAM: ▼1.96MB] [CPU: ▼50.54ms] Passed 4 tests
Analyzing server-side resources used by Apollo Site Tools
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.43 | 5.05 ▼32.17 |
Dashboard /wp-admin | 2.05 ▼1.26 | 6.21 ▼41.73 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 6.22 ▼39.64 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 4.81 ▼88.62 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 5.69 ▼28.74 |
php Info /wp-admin/admin.php?page=apollo_ga_plugin/phpinfo.php | 2.05 | 6.20 |
Apollo Site Tools /wp-admin/admin.php?page=apollo_ga_plugin | 2.05 | 5.47 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 5 new files
Database: 2 new tables, 7 new options
New tables |
---|
wp_website_contacts_manager_settings |
wp_apollo_contacts_manager |
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
website_contacts_manager_db_version |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Apollo Site Tools
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲92 | 13.27 ▼1.11 | 1.43 ▼0.34 | 39.73 ▼4.56 |
Dashboard /wp-admin | 2,233 ▲42 | 4.87 ▼0.94 | 112.05 ▲7.36 | 42.53 ▲1.91 |
Posts /wp-admin/edit.php | 2,113 ▲24 | 2.05 ▲0.03 | 39.31 ▼1.08 | 34.88 ▼0.86 |
Add New Post /wp-admin/post-new.php | 1,564 ▲50 | 18.29 ▲0.60 | 619.41 ▼87.63 | 58.91 ▼13.43 |
Media Library /wp-admin/upload.php | 1,415 ▲24 | 4.22 ▲0.05 | 99.60 ▼4.19 | 42.26 ▼2.52 |
php Info /wp-admin/admin.php?page=apollo_ga_plugin/phpinfo.php | 5,514 | 1.76 | 30.88 | 78.07 |
Apollo Site Tools /wp-admin/admin.php?page=apollo_ga_plugin | 1,052 | 2.03 | 22.97 | 36.74 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/apollo-site-tools/wp_ga_main.php+13
Trying to access array offset on value of type bool
- Zombie tables detected upon uninstall: 1 table
- wp_website_contacts_manager_settings
- The uninstall procedure has failed, leaving 7 options in the database
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- website_contacts_manager_db_version
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- 27 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=apollo_ga_plugin
- > Notice in wp-content/plugins/apollo-site-tools/wp_ga_main.php+1012
Trying to access array offset on value of type bool
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/apollo-site-tools/wp_ga_main.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 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
Attributes that need to be fixed:
- Screenshots: These screenshots need descriptions #1, #2 in apollo-site-tools/assets to your readme.txt
apollo-site-tools/wp_ga_main.php 92% from 13 tests
"Apollo Site Tools" version 2.7's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("apollo-site-tools.php" instead of "wp_ga_main.php")
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
Good job! No executable or dangerous file extensions detected960 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 210 | 43 | 802 |
CSS | 2 | 14 | 0 | 104 |
JavaScript | 1 | 7 | 0 | 54 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 60 | |
▷ Named functions | 60 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin