Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.83MB] [CPU: ▼34.89ms] Passed 4 tests
A check of server-side resources used by WP Article Audit using Google Analytics
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 36.75 ▼3.50 |
Dashboard /wp-admin | 3.13 ▼0.22 | 21.51 ▼36.47 |
Posts /wp-admin/edit.php | 3.13 ▼0.23 | 25.61 ▼21.29 |
Add New Post /wp-admin/post-new.php | 3.13 ▼2.76 | 25.07 ▼72.09 |
Media Library /wp-admin/upload.php | 3.13 ▼0.10 | 24.48 ▼9.72 |
Server storage [IO: ▲5.36MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 176 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
ga_article_audit_db_version |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Article Audit using Google Analytics
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲53 | 14.35 ▼0.00 | 1.62 ▼0.21 | 40.56 ▼4.15 |
Dashboard /wp-admin | 2,220 ▲40 | 5.72 ▲0.10 | 93.93 ▲5.79 | 38.04 ▼5.87 |
Posts /wp-admin/edit.php | 2,125 ▲25 | 2.21 ▲0.22 | 39.82 ▲2.61 | 36.43 ▲1.88 |
Add New Post /wp-admin/post-new.php | 1,547 ▲19 | 23.50 ▲0.23 | 647.64 ▼50.66 | 63.60 ▼1.38 |
Media Library /wp-admin/upload.php | 1,425 ▲31 | 4.30 ▲0.12 | 94.44 ▼5.40 | 40.18 ▼4.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Uninstall procedure had uncaught errors
- > User deprecated in wp-includes/functions.php+5453
Function add_utility_page is deprecated since version 4.5.0! Use add_menu_page() instead.
- Zombie WordPress options detected upon uninstall: 7 options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- ga_article_audit_db_version
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 no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 7× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/ga-article-audit/google-api-php-client/examples/fileupload.php
- > /wp-content/plugins/ga-article-audit/google-api-php-client/examples/batch.php
- > /wp-content/plugins/ga-article-audit/google-api-php-client/examples/index.php
- > /wp-content/plugins/ga-article-audit/google-api-php-client/examples/idtoken.php
- > /wp-content/plugins/ga-article-audit/google-api-php-client/examples/user-example.php
- > /wp-content/plugins/ga-article-audit/google-api-php-client/examples/multi-api.php
- > /wp-content/plugins/ga-article-audit/google-api-php-client/examples/simplefileupload.php
- 101× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Google_Service' not found in wp-content/plugins/ga-article-audit/google-api-php-client/src/Google/Service/Fusiontables.php:31
- > PHP Fatal error
Uncaught Error: Class 'Google_Service' not found in wp-content/plugins/ga-article-audit/google-api-php-client/src/Google/Service/Drive.php:31
- > PHP Fatal error
Uncaught Error: Class 'Google_Service' not found in wp-content/plugins/ga-article-audit/google-api-php-client/src/Google/Service/Blogger.php:31
- > PHP Fatal error
Uncaught Error: Class 'Google_Service' not found in wp-content/plugins/ga-article-audit/google-api-php-client/src/Google/Service/Translate.php:31
- > PHP Fatal error
Uncaught Error: Class 'Google_Service' not found in wp-content/plugins/ga-article-audit/google-api-php-client/src/Google/Service/Taskqueue.php:31
- > PHP Fatal error
Uncaught Error: Class 'BaseTest' not found in wp-content/plugins/ga-article-audit/google-api-php-client/tests/youtube/YouTubeTest.php:18
- > PHP Fatal error
Uncaught Error: Class 'Google_Service' not found in wp-content/plugins/ga-article-audit/google-api-php-client/src/Google/Service/Groupssettings.php:31
- > PHP Fatal error
Uncaught Error: Class 'BaseTest' not found in wp-content/plugins/ga-article-audit/google-api-php-client/tests/plus/PlusTest.php:18
- > PHP Fatal error
Uncaught Error: Class 'BaseTest' not found in wp-content/plugins/ga-article-audit/google-api-php-client/tests/general/ApiMediaFileUploadTest.php:21
- > PHP Warning
fgets() expects parameter 1 to be resource, string given in wp-content/plugins/ga-article-audit/google-api-php-client/tests/OAuthHelper.php on line 40
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration Passed 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
5 plugin tags: seo, analytics, google, search engine optimization, google analytics
ga-article-audit/ga-article-audit.php Passed 13 tests
The principal PHP file in "WP Article Audit using Google Analytics" v. 1.0 is loaded by WordPress automatically on each request
135 characters long description:
A WordPress plugin to help you audit your articles posted on your WordPress blog with the help of Google Analytics data of the website.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin154,693 lines of code in 166 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 152 | 10,273 | 29,577 | 153,793 |
CSS | 2 | 52 | 62 | 463 |
JavaScript | 2 | 18 | 14 | 184 |
XML | 2 | 28 | 41 | 122 |
Markdown | 3 | 41 | 0 | 77 |
JSON | 3 | 0 | 0 | 26 |
YAML | 1 | 6 | 2 | 22 |
INI | 1 | 0 | 1 | 6 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.02 |
Average class complexity | 1.27 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 102.00 |
Average method complexity | 1.03 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 2,740 | |
▷ Abstract classes | 6 | 0.22% |
▷ Concrete classes | 2,734 | 99.78% |
▷ Final classes | 0 | 0.00% |
Methods | 21,560 | |
▷ Static methods | 15 | 0.07% |
▷ Public methods | 21,466 | 99.56% |
▷ Protected methods | 31 | 0.14% |
▷ Private methods | 63 | 0.29% |
Functions | 9 | |
▷ Named functions | 7 | 77.78% |
▷ Anonymous functions | 2 | 22.22% |
Constants | 231 | |
▷ Global constants | 1 | 0.43% |
▷ Class constants | 230 | 99.57% |
▷ Public constants | 230 | 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 were not PNG files found in your plugin