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.28MB] [CPU: ▼2.01ms] Passed 4 tests
An overview of server-side resources used by Makale.net
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.74 ▲0.28 | 42.48 ▼1.84 |
Dashboard /wp-admin | 3.58 ▲0.28 | 47.42 ▲0.28 |
Posts /wp-admin/edit.php | 3.70 ▲0.34 | 48.50 ▼0.66 |
Add New Post /wp-admin/post-new.php | 6.16 ▲0.28 | 90.45 ▼5.80 |
Media Library /wp-admin/upload.php | 3.51 ▲0.28 | 38.56 ▲3.09 |
Ayarlar /wp-admin/admin.php?page=makale-net_ayarlar | 3.46 | 32.28 |
Server storage [IO: ▲3.30MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 51 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Makale.net
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,843 ▲108 | 13.66 ▼0.94 | 1.97 ▲0.04 | 41.90 ▼7.25 |
Dashboard /wp-admin | 2,224 ▲36 | 4.86 ▼0.99 | 101.24 ▼0.77 | 71.45 ▲30.32 |
Posts /wp-admin/edit.php | 2,110 ▲21 | 1.98 ▼0.06 | 38.87 ▼0.78 | 36.06 ▼1.53 |
Add New Post /wp-admin/post-new.php | 1,684 ▲150 | 22.18 ▼0.78 | 653.56 ▲54.63 | 55.90 ▼0.40 |
Media Library /wp-admin/upload.php | 1,400 ▲12 | 4.20 ▼0.02 | 97.79 ▲1.41 | 45.05 ▲2.59 |
Ayarlar /wp-admin/admin.php?page=makale-net_ayarlar | 1,013 | 2.43 | 30.65 | 26.52 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=makale-net_ayarlar
- > Notice in wp-content/plugins/makale-net/inc/admin-pages/settings.php+17
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
The following issues need your attention
- 6× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/makale-net/inc/plugin-hooks.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/makale-net/inc/generate-admin-pages.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/makale-net/inc/ajax-functions.php:30
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/makale-net/inc/register-scripts.php:85
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/makale-net/inc/functions.php:148
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/makale-net/inc/admin-pages/settings.php:143
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please take a look at the following user-side issues
- > GET request to /wp-admin/admin.php?page=makale-net_ayarlar
- > Javascript (severe) in unknown
/wp-content/plugins/makale-net/assets/admin/js/makale-net.js?ver=1.0.3 766:19 Uncaught TypeError: $(...).live is not a function
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
10 plugin tags: makale, content, marketing, makalenet, seo...
makale-net/makale-net.php 85% from 13 tests
"Makale.net" version 1.0.3'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:
- Description: Please keep the plugin description shorter than 140 characters (currently 268 characters long)
- Domain Path: The domain path points to a folder that does not exist ("/languages/")
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
There were no executable files found in this plugin10,820 lines of code in 35 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 3 | 0 | 12 | 4,482 |
CSS | 9 | 254 | 103 | 3,632 |
PHP | 15 | 211 | 174 | 1,432 |
JavaScript | 8 | 158 | 57 | 1,274 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
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 | 36 | |
▷ Named functions | 36 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
3 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/admin/img/logo.png | 4.59KB | 3.52KB | ▼ 23.16% |
assets/admin/img/user.png | 2.86KB | 2.62KB | ▼ 8.59% |
assets/admin/img/menu_icon.png | 3.50KB | 0.70KB | ▼ 80.04% |