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
Install script ran successfully
Server metrics [RAM: ▼0.79MB] [CPU: ▼173.52ms] Passed 4 tests
An overview of server-side resources used by Content Insights
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.88 ▲0.16 | 32.28 ▲3.27 |
Dashboard /wp-admin | 2.85 ▼0.20 | 23.97 ▼21.31 |
Posts /wp-admin/edit.php | 2.86 ▼0.25 | 23.30 ▼22.07 |
Add New Post /wp-admin/post-new.php | 2.85 ▼2.58 | 20.10 ▼632.55 |
Media Library /wp-admin/upload.php | 2.85 ▼0.15 | 23.54 ▼18.13 |
Content Insights /wp-admin/options-general.php?page=contentinsights_add_tracker | 2.86 | 24.95 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Content Insights
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,717 ▲111 | 16.05 ▲0.05 | 9.37 ▼1.38 | 48.60 ▼1.89 |
Dashboard /wp-admin | 2,984 ▲50 | 6.00 ▼0.14 | 136.19 ▼3.47 | 113.77 ▼5.30 |
Posts /wp-admin/edit.php | 2,753 ▲17 | 2.72 ▲0.01 | 63.96 ▼1.96 | 89.06 ▼6.81 |
Add New Post /wp-admin/post-new.php | 1,881 ▲383 | 19.20 ▲0.42 | 382.04 ▲9.67 | 106.87 ▼5.78 |
Media Library /wp-admin/upload.php | 1,821 ▲14 | 5.02 ▼0.10 | 147.68 ▲5.61 | 122.63 ▲5.90 |
Content Insights /wp-admin/options-general.php?page=contentinsights_add_tracker | 1,298 | 2.10 | 55.10 | 88.96 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/content-insights/contentinsights.php+296
Trying to access array offset on value of type bool
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- 5 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=contentinsights_add_tracker
- > Notice in wp-content/plugins/content-insights/contentinsights.php+133
Trying to access array offset on value of type bool
SRP 50% 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 fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/content-insights/contentinsights.php:307
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% 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
2 plugin tags: content quality, content analytics
content-insights/contentinsights.php 77% from 13 tests
"Content Insights" version 1.2.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("content-insights.php" instead of "contentinsights.php")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Domain Path: The domain path folder was not found ("/languages")
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 plugin247 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 64 | 11 | 247 |
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.28 |
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 | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected