Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼2.97ms] Passed 4 tests
Analyzing server-side resources used by pipDisqus - Lightweight Disqus Comments
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 43.26 ▲0.29 |
Dashboard /wp-admin | 3.32 ▲0.02 | 49.35 ▼1.31 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 49.31 ▼5.62 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 97.37 ▼5.25 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 40.09 ▲1.66 |
pipDisqus /wp-admin/options-general.php?page=pipdisqus | 3.21 | 33.12 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for pipDisqus - Lightweight Disqus Comments
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,828 ▲82 | 13.25 ▼1.06 | 1.81 ▲0.07 | 43.12 ▼3.71 |
Dashboard /wp-admin | 2,233 ▲42 | 5.84 ▼0.03 | 102.82 ▼1.34 | 46.93 ▼1.13 |
Posts /wp-admin/edit.php | 2,119 ▲30 | 1.99 ▼0.01 | 35.31 ▼2.85 | 34.53 ▲0.79 |
Add New Post /wp-admin/post-new.php | 1,562 ▲48 | 23.21 ▲5.66 | 680.03 ▲41.22 | 54.35 ▲5.26 |
Media Library /wp-admin/upload.php | 1,415 ▲24 | 4.22 ▲0.06 | 98.39 ▼5.14 | 43.85 ▼2.39 |
pipDisqus /wp-admin/options-general.php?page=pipdisqus | 828 | 2.04 | 25.68 | 27.72 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
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
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
4 plugin tags: disqus, comments system, comments, post
pipdisqus/pipdisqus.php Passed 13 tests
The entry point to "pipDisqus - Lightweight Disqus Comments" version 1.6 is a PHP file that has certain tags in its header comment area
71 characters long description:
Remove the default WordPress comments features and replace with Disqus.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin182 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 49 | 20 | 182 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
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 | 11 | |
▷ Named functions | 11 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin