84% cryptoniann-tools

Code Review | cryptoniann-tools

WordPress plugin cryptoniann-tools scored84%from 54 tests.

About plugin

  • Plugin page: cryptoniann-tools
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.7-4.7.2
  • WordPress version: 6.3.1
  • First release: May 11, 2018
  • Latest release: May 11, 2018
  • Number of updates: 5
  • Update frequency: every 0.2 days
  • Top authors: vencedor (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,029 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully

Server metrics [RAM: ▲0.09MB] [CPU: ▼4.59ms] Passed 4 tests

Analyzing server-side resources used by cryptoniann-tools
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.56 ▲0.1033.69 ▼9.06
Dashboard /wp-admin3.40 ▲0.0944.64 ▼3.86
Posts /wp-admin/edit.php3.45 ▲0.0946.27 ▲0.50
Add New Post /wp-admin/post-new.php5.98 ▲0.0991.54 ▼5.93
Media Library /wp-admin/upload.php3.32 ▲0.0938.19 ▲6.53
Testimonials /wp-admin/edit.php?post_type=testimonials3.3637.04
Team /wp-admin/edit.php?post_type=team3.3634.20
Add New /wp-admin/post-new.php?post_type=team3.4348.07
Add New /wp-admin/post-new.php?post_type=services3.4348.45
Services /wp-admin/edit.php?post_type=services3.3637.82
FAQ /wp-admin/edit.php?post_type=faq3.3632.94
Add New /wp-admin/post-new.php?post_type=faq3.4348.34
Add New /wp-admin/post-new.php?post_type=testimonials3.4348.98

Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests

Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
can_compress_scripts
widget_theysaidso_widget
db_upgraded
widget_recent-comments
theysaidso_admin_options

Browser metrics Passed 4 tests

An overview of browser requirements for cryptoniann-tools
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,920 ▲16313.30 ▼1.001.51 ▼0.3437.03 ▼6.23
Dashboard /wp-admin2,311 ▲1205.85 ▼0.05103.92 ▼10.8140.87 ▼3.37
Posts /wp-admin/edit.php2,200 ▲1112.06 ▲0.0639.23 ▲3.4038.04 ▲5.17
Add New Post /wp-admin/post-new.php1,639 ▲11018.07 ▼0.21589.44 ▼39.2660.12 ▲9.64
Media Library /wp-admin/upload.php1,496 ▲1054.24 ▲0.0397.02 ▼2.1642.75 ▼1.12
Testimonials /wp-admin/edit.php?post_type=testimonials1,1671.9734.3331.12
Team /wp-admin/edit.php?post_type=team1,1701.9431.6129.71
Add New /wp-admin/post-new.php?post_type=team2,2557.56168.8862.20
Add New /wp-admin/post-new.php?post_type=services2,2557.57163.9553.10
Services /wp-admin/edit.php?post_type=services1,1702.0130.0428.22
FAQ /wp-admin/edit.php?post_type=faq1,1521.9834.2928.91
Add New /wp-admin/post-new.php?post_type=faq2,2447.70159.7155.37
Add New /wp-admin/post-new.php?post_type=testimonials2,2477.58160.9751.67

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
Please fix the following items
  • This plugin does not fully uninstall, leaving 6 options in the database
    • db_upgraded
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-posts
    • widget_recent-comments
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
  • 1× PHP files perform the task of outputting text when accessed with GET requests:
    • > /wp-content/plugins/cryptoniann-tools/cryptoniann-tools.php

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
1 plugin tags: helper

cryptoniann-tools/cryptoniann-tools.php Passed 13 tests

The principal PHP file in "cryptoniann-tools" v. 1.0.0 is loaded by WordPress automatically on each request
77 characters long description:
Plugin needed for running short tags and other options for cryptoniann Theme.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin150 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP2819150

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.33
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions4
▷ Named functions4100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin