Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼2.63ms] Passed 4 tests
Analyzing server-side resources used by Aramba Integration
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.10 ▼2.68 |
Dashboard /wp-admin | 3.31 ▲0.01 | 43.82 ▼2.03 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 47.98 ▲4.80 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 86.72 ▼6.66 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 35.11 ▲0.87 |
Aramba /wp-admin/tools.php?page=aramba | 3.20 | 31.16 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 12 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
aramba_api_key |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Aramba Integration
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.29 ▼1.13 | 1.75 ▲0.06 | 45.08 ▲5.11 |
Dashboard /wp-admin | 2,210 ▲21 | 5.85 ▲0.94 | 99.16 ▼12.95 | 38.09 ▼4.09 |
Posts /wp-admin/edit.php | 2,096 ▲10 | 2.05 ▲0.04 | 40.53 ▲3.37 | 35.10 ▲2.03 |
Add New Post /wp-admin/post-new.php | 1,545 ▲12 | 18.39 ▼4.89 | 602.80 ▼69.76 | 52.93 ▲0.32 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.18 ▼0.04 | 97.63 ▲3.02 | 42.42 ▼1.53 |
Aramba /wp-admin/tools.php?page=aramba | 791 | 2.20 | 25.18 | 28.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking 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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/aramba/templates/Activation/activation.php
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/aramba/aramba.php:25
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/aramba/templates/Import/import.php:9
- > 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
Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: aramba, e mail, e-mail, email
aramba/aramba.php Passed 13 tests
The principal PHP file in "Aramba Integration" v. 1.0.2 is loaded by WordPress automatically on each request
30 characters long description:
Integrate the blog with Aramba
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin442 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 84 | 17 | 287 |
CSS | 1 | 11 | 0 | 66 |
PO File | 1 | 15 | 16 | 54 |
JavaScript | 1 | 6 | 0 | 35 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 7.33 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 19 | |
▷ Static methods | 11 | 57.89% |
▷ Public methods | 15 | 78.95% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 21.05% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin